07-31-2023, 09:19 AM
Do you want the decimal or not?
If not, use
select ceiling(@value),floor(@value)
If you do it with 0 then do a round:
select round(@value,2)
If not, use
select ceiling(@value),floor(@value)
If you do it with 0 then do a round:
select round(@value,2)