Answers for "two decimal places in mysql"

SQL
7

sql limit decimal places

SELECT CAST(ROUND(125.025000, 2) AS NUMERIC(36,2))
returns: 125.03
Posted by: Guest on April-10-2020
0

round one decimal place mysql

SELECT ROUND(20.555, 1);
-- 20.5
SELECT ROUND(20.5, 0);
-- 21
Posted by: Guest on November-25-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language