ROUND FUNCTION
You can use SELECT ROUND(@num, 2, 1)
According to ROUND description:
ROUND ( numeric_expression , length [ ,function ] )
If the function is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.
RESULT
25.22
CHARINDEX and LEFT
Alternatively, you can use CHARINDEX and LEFT in the following if you want to do "ROUND DOWN" and use a simple ROUND to do "ROUND UP"
DECLARE @num DECIMAL(16,3) = 25.227 SELECT LEFT(@num,CHARINDEX('.',@num)+2) as [RoundDown], ROUND(@num,2) as [RoundUp]
RESULT
RoundDown RoundUp 25.22 25.23
UPDATE
According to the comments on ROUNDUP you can use the following:
SELECT ROUND(22.22289 + 0.005, 2) as [RoundUp1]
RESULT
25.23
Demo
You can check it on SQL FIDDLE
source share