Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT TRUNCATE(5.82343434,0);
ROUND(X,D)
Returns the argument X, rounded to a number with D decimals. If D is 0, the result will have no decimal point or fractional part:
mysql> SELECT ROUND(1.298, 1);
-> 1.3
mysql> SELECT ROUND(1.298, 0);
-> 1
SELECT int+0.000000;
mysql> select '1333' + 0.00000;
+------------------+
| '1333' + 0.00000 |
+------------------+
| 1333 |
+------------------+
1 row in set (0.01 sec)