73
JSTL Formatting <fmt:formatNumber> Tag
The <fmt:formatNumber> tag is used to format the numerical value using the specific format or precision. It is used to format percentages, currencies, and numbers according to the customized formatting pattern.
The syntax used for including the <fmt:formatNumber> tag is:
Let’s see the simple example to understand the formatting <fmt:formatNumber> tag:
Output:
Next TopicJSTL Formatting<fmt:parseDate> Tag