Red Squirrel
No Lifer
In terms of accuracy, is there a difference between this:
var1 = (var2/var3)*100;
and this? :
var1 = ((var2*100)/(var3*100))*100;
This is all ints. I'm wondering if the 2nd one is better practice for acuracy, or if it does not matter?
This is C#, but I assume it would apply to any language.
var1 = (var2/var3)*100;
and this? :
var1 = ((var2*100)/(var3*100))*100;
This is all ints. I'm wondering if the 2nd one is better practice for acuracy, or if it does not matter?
This is C#, but I assume it would apply to any language.