I would like to format number displayed by tag in Struts 2. There is a double value. How can I do that? Sho
double
You need to use with .
Property file:
summary.cost= € {0,number,##0.00}
JSP:
This answer explains how to use # and 0 in the format mask.
#
0