SQL rounding numbers
snippet in sql

sql limit decimal places

user228

SELECT CAST(ROUND(125.025000, 2) AS NUMERIC(36,2))
returns: 125.03

SQL rounding numbers

user2436

SELECT 2.555555; --> Result 2.555555
SELECT ROUND(2.555555); --> Result 3
SELECT ROUND(2.555555, 3); --> Result 2.556
SELECT ROUND(2.555555, 0); --> Result 3

SQL 2 round

user8696


  SELECT ROUND(235.415, 2) AS RoundValue;