This is true. It's supposed to work that way. If you want it to round 
negative numbers "down" you'll need to round the absolute value of the 
number and then if it was originally lt 0, convert it back to a negative:

round(abs(x))*-1

Ian Skinner wrote:
> IIRC my high school and college math courses, this is the proper rounding 
> behavior according to mathematic standards.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>  
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232232
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to