If you are in a country where the decimal separator matters, rather than . , then you should use LSNumberFormat , Either in combination with SetLocale , or by specifying the locale attribute of the function. eg.
<cfoutput>#LSNumberFormat(reportData, "0.00", "Swedish")#</cfoutput>
OR
<cfscript>setLocale("Swedish");</cfscript> <cfoutput>#LsNumberFormat(reportData, "0.00")#</cfoutput>
Note that in the mask attribute we are still using . as a decimal separator. This is then converted to any Swedish decimal point separator (comma).
duncan
source share