JSTL fmt:formatNumber Formatting Tag
The JSTL <fmt:formatNumber> Formatting Tag is used for formatting the numbers, currencies and percentages. Syntax: <fmt:formatNumber value=”val” otherattributes /> fmt:formatNumber tag attributes: Attribute Description Required value It specify the numeric value to display. Yes type NUMBER, CURRENCY, PERCENT No pattern It specify a custom formatting pattern for the output.. No currencyCode Currency code (for type=”currency”). … Read more