Hi, my query is
Suppose **we have given a float x = 3.142857 **
and I want to store just 3.1 in another floating variable. How can I do that ?
I mean take the precise value and storing it to another variable?
I know in C i can use .%2f to print values upto an extent but i want to store it in another variable.
Thanks