I am changed data-type of 1 table field int to float for accept decimal values also
i am saving value as 0.05, 0.1
when i am fetching value with following query:
SELECT points from tbl_points where user_id=10
it returns me vaule like
0.0546565749
i am not getting why this is happening. i just want to display value as it saved to into table. i.e. 0.05 OR 0.1
please help me....
thanks in advance
ROUNDfunction.SELECT ROUND(0.0546565749,2);