[Solved] Division of 1 by 10 and saving it in a float variable gives me 0.000000, whereas I want it to be 0.1. How can it nbe possible [closed]


It is not a division actually

float fmod (float numer, float denom);
Returns the floating-point remainder of numer/denom.

In your case remainder is 1.

solved Division of 1 by 10 and saving it in a float variable gives me 0.000000, whereas I want it to be 0.1. How can it nbe possible [closed]