Wednesday, September 19, 2012

MySQL - Math function

round(digit)  --->  <4 drop, >5 add
ceil(digit) ---> all add
floor(digit) ---> all drop

---------------------
Ref. https://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.html

No comments:

Post a Comment