This JSP function returns a representation of an integer value and displays it in the correct format for a specific locale.
Sterling Selling and Fulfillment Foundation always displays numeric data in the format specific to the locale of the logged in user. If you have a decimal value that you need to display to the user that is not formatted in any locale, use this function to get a string representing the correctly formatted representation of the integer value.
String getLocalizedStringFromInt(YFCLocale aLocale, int intVal)
aLocale - Required. The YFCLocale object for which you want the number formatted for a specific locale.
intVal - Required. The integer you want formatted for a specific locale.
A string containing the correctly formatted representation of the number.
This example shows to display an integer variable called quantity within a <td> tag.
<td class="protectednumber">
<%=getLocalizedStringFromInt(getLocale(), quantity)%>
</td>