struts.properties中添加
FormatNumeral={0,number,##0.00}
页面中
FormatNumeral={0,number,##0.00}
页面中
<s:i18n name="struts">
<s:text name="FormatNumeral" >
<s:param value="%{amount*100.00/quantity}"/>
</s:text>
</s:i18n>