How to show money format on the JSP page?

Jeff Hubbach

Use NumberFormat.

double value = 45392834.44d
NumberFormat nf = NumberFormat.getCurrencyInstance();
System.out.println(nf.format(value));
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact