Created
October 6, 2017 10:20
-
-
Save anonymous/2150f3bfcb9b705b03a850b59dfa1c43 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
n = 1.23456; | |
</cfscript> | |
<cfloop LIST = "#Server.Coldfusion.SupportedLocales#" | |
index = "locale" delimiters = ","> | |
<cfset oldlocale = setLocale(locale)> | |
<cfoutput>#locale# #decimalformat(n)#<br></cfoutput> | |
</cfloop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment