for example,
round with 0.25
2.25 = 2.2
2.27 = 2.3
i want to round after point value
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Dec 3, 2013, 2:04 AM EST
select round(2.25,1)
o/p-2.26
select round(2.24,1)
o/p: 2.20
Hardik PatelRank #4,439 · 343 reputationPosted Dec 3, 2013, 7:24 PM EST
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Dec 3, 2013, 7:38 PM EST
SELECT ROUND(REVERSE(ROUND(REVERSE(2.26),1)),1)