I have a variable type float named change and i want to get remainder. I couldnt do change % 1 so i used fmod(change, 1). Variable change had value 2.97 but fmod returned 0.000000 insted of .97
What's the reason? Isn't it supposed to work with floats