GetLocalizedStringFromInt
You can review the details about the getLocalizedStringFromInt JSP function. This JSP function returns a representation of an integer value and displays it in the correct format for a specific locale.
Description
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.
Syntax
String getLocalizedStringFromInt(YFCLocale aLocale, int intVal)
Input parameters
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.
Output parameters
A string containing the correctly formatted representation of the number.
JSP usage
This example shows to display an integer variable called quantity within a <td> tag.
<td class="protectednumber">
<%=getLocalizedStringFromInt(getLocale(), quantity)%>
</td>