I want to round 3.8 to 3.5 in sql.
please guide
thanks
Hi akhter,
Refer below query.
SELECT CAST((FLOOR(3.8*2.0)/2.0) AS NUMERIC(18,1)) AS Number
Output
3.5
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.