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

Name

DecimalFormat

Synopsis

                   DecimalFormat(number)

Returns number as a string formatted to two decimal places with thousands separators. Examples:

<cfoutput>
1:  #DecimalFormat(1)#<br>
10: #DecimalFormat(10)#<br>
100: #DecimalFormat(100)#<br>
1000: #DecimalFormat(1000)#<br>
10000: #DecimalFormat(10000)#<br>
100000: #DecimalFormat(100000)#<br>
1000000: #DecimalFormat(1000000)#<br>
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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