Subject: RE: Formatting Flaot and Double Values 2007-10-03 - By Slattery, Tim - BLS
Back > I want to format float and double values like this ##,###.## > eg 45,000.09 Is there any tag that will do this for me or > any global property to do this
<fmt:formatNumber value="${expression}" maxFractionDigits="2" minFractionDigits="2"/>
Defaults to "number" type, which separates groups of three digits according to the Locale (commas, on this side of the pond).
-- Tim Slattery Slattery_T@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|