2013年10月29日星期二

JSP EL expressions how rounding

$ {s.yaoWei}
This value is 89.99 taken out , I want it rounded , shown as 90
------ Solution -------------------- ------------------------

introducing formatting tag library

------ Solution -------- ------------------------------------
he jstl jstl you want to download this package
also add this page
<% @ taglib uri = "http://java.sun.com/jsp/jstl/fmt" prefix = "fmt"%>
- ---- For reference only ---------------------------------------
in entity class properties make it directly to the type you want to
set method to do the next deal
------ For reference only ----------------------------- ----------

......, check the information online , so you can say , but I was not here ,
------ For reference only ---------------- -----------------------

I have tried , is not the effect , that it should shutdown restart ?
------ For reference only -------------------------------------- -

definitely added this one , otherwise it would not take labels thiophene.
------ For reference only -------------------------------------- -
pass over in the value of the value before the first round with a round then transmitted over the forward think both can be easily solved
------ For reference only ---------------------------------------
front bad deal with the case , the background handle and then take also a way
------ For reference only ------------------------------ 89.99 ---------
saying you are not of type String ah .................
------ For reference only - --------------------------------------
may
---- - For reference only ---------------------------------------
background processing it ...

没有评论:

发表评论