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 SetLocale(locale)> <cfoutput> <p><b>#locale#</b><br> Local: #LSNumberFormat(1000000.99)#<br> LSParseNumber: #LSParseNumber(LSNumberFormat(1000000.99))#<br> </cfoutput> </cfloop>
Get Programming ColdFusion MX, 2nd Edition 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.