This feels like the kind of code that only fails in-situ, but I will attempt to adapt it into a code snippet that represents what I\'m seeing.
float f = myFl
Replace with
double f = myFloat * myConstInt;
and see if you get the same answer.