I l @ ve RuBoard |
Used to round a number to the nearest whole number. Does not round to decimal places. SyntaxRound(number_to_round) ParametersRound must be supplied with a number variable to round. Example<!---Round a number to 2 decimal places ---> <cfoutput> <cfset number = number * 100> <cfset number = round(number)> <cfset number number / 100> <cfoutput> #number# </cfoutput> |
I l @ ve RuBoard |