How to convert a double value to a float value without changing its precision.
for example, if I am having double var = 1/4 i.e.(0.25) how to change it to a float type with the value of the variable being 0.25.
How to convert a double value to a float value without changing its precision.
for example, if I am having double var = 1/4 i.e.(0.25) how to change it to a float type with the value of the variable being 0.25.