Hi again, simple question:
If I have some calculation like:
And say exp is 4000, time is nearly 3600000, will the calculation cause an overflow because it calculates 4000*3600000 = 14400000000 first? Or is this compiler specific, or can I control it via:Code:int val = (int)exp*3600000/(uint)time
Thanks in advance.Code:val = exp*(3600000/time)