You could always do something like:
int divRes = IntA/intB;
double something = divRes*5.342;
At the very least it could warn me. I just tried it in rust and that will error out if you try to divide two ints and store the result in a float which is fine by me.