Hope you realise they are different.

int(variable) will round down
round(variable) will round average (up or down depending on if > .5 or not)
celling(variable) will round up

Regards
Dale Fraser

http://learncf.com


-----Original Message-----
From: ismail cassiem [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 4 October 2007 6:36 PM
To: CF-Talk
Subject: Re: Decimalformat() to round

Thanks, this also works... 
Thanks

>Hi,
>
>Why don't you try #round(test)#.
>
>
>Thanks,
>Asha.
>
>Hi, Need help.
>
>#Decimalformat(test)#  
>Result = 87.666
>
>I want a result of 88. 
>
>Anyone please assist.
>
>Regards 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290144
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to