Home » JSTL fmt:formatnumber Tag

JSTL fmt:formatnumber Tag

by Online Tutorials Library

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

You may also like