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

Name

Round

Synopsis

                   Round(number)

Rounds off a number to the nearest integer. Examples:

<cfoutput>
-2.5: #Round(-2.5)#<br>
-1: #Round(-1)#<br>
-1.123: #Round(-1.123)#<br>
-0.123: #Round(-0.123)#<br>
0: #Round(0)#<br>
0.123: #Round(0.123)#<br>
1: #Round(1)#<br>
1.123: #Round(1.123)#<br>
2.5: #Round(2.5)#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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