Name
LSParseNumber
Synopsis
LSParseNumber(string
)
Converts string
to a locale-specific
numeric value. Here’s an example that applies the function to
each locale:
<CFLOOP INDEX="locale" LIST="#Server.Coldfusion.SupportedLocales#"> <CFSET temp = SetLocale(locale)> <CFOUTPUT> <P><B>#locale#</B><BR> Local: #LSNumberFormat(1000000.99)#<BR> LSParseNumber: #LSParseNumber(LSNumberFormat(1000000.99))#<BR> </CFOUTPUT> </CFLOOP>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.