Round always rounds up, that is +1, so with a negative number it goes from -
35.5 to just -35, it rounded up.

On 2/14/06, PINE Phyo Z <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a question on Round() function behavior of CF. When I do
> #Round(35.5)#, it will give me 36 but when I do #Round(-35.5)#, it will
> give me -35. But when I give #Round(-35.6)#, it will give me -36. So I
> am just wondering is it a bug or is that suppose to be that way?
>
> Thanks & Regards,
> Pine
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232227
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to