I have an odd one here, first of all I noticed that my script was behaving oddly when I tried to use exact values (in this instance between 0 and 1) when I noticed that it was outputting the wrong number in a variable. The equation is this:

tmpnum = 100 * 0.01;

according to proper calculations tmpnum would equal 1, but according to the engine it equals something around 0.97656 .

Umm...why is this? This could cause serious errors in bigger equations...

edit: thought I'd mention:

Engine Version: A6.6
no time variable used, just exact values.

edit2: I noticed that if I used:

tmpnum = 100 / 100;

it gives me the proper number, but why is it that the decimal points have an issue?


- aka Manslayer101