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




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA