Javatpoint Logo
Javatpoint Logo

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:

JSTL Formatting Tags3



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA