August 2003
Intermediate to advanced
1140 pages
68h 45m
English
Fix
Fix(number)Returns the closest integer less than the specified number if the number is greater than 0. If the specified number is less than 0, the closest integer greater than the number is returned. Examples:
<cfoutput> -2.5: #Fix(-2.5)#<br> -1: #Fix(-1)#<br> -1.123: #Fix(-1.123)#<br> -0.123: #Fix(-0.123)#<br> 0: #Fix(0)#<br> 0.123: #Fix(0.123)#<br> #Fix(1)#<br> 1.123: #Fix(1.123)#<br> 2.5: #Fix(2.5)# </cfoutput>