hi
How to Exact Fraction value show in Sql Server
For Ex:My Query like this
select (14/8)as Test
Ans:1
but i have run calculator same calculation 14/8 my answer is 1.75
i have convert my query decimal datatype but sql server did not show
correct value
SELECT CONVERT(DECIMAL(10,2),(14/8)) amt
i need 1.75 my output how to achieve this sql query
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com