• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint