Hi I have some problem which I can't solve, maybe some of you can help me I need to show result of division.
select 50/200 as we all know it supposed be 0.25, however, I got 0 so them i try this
SELECT ROUND(CAST(50 AS NUMERIC(18,2) )/ CAST(200 AS NUMERIC(18,2)),2)
which gives me 0.25000000000000000000
I then tried to use Round
select cast(round(50/200,2) as numeric(36,2))
but its returning me 0.00
How would i fix this to just show 0.25?