Hi All,
I'm having a weird problem. I'm trying to do division like this:
vector = timeStamp / 12800.0;
where vector is a double and timeStamp is an int. The answer that I get is a double, however it's only to 2 places of precision. For instance 28521602 / 12800 = 2228.25015625 but it's chopping it off to 2228.25. I'm using GCC to run and compile my code, any help would be greatly appreciated. Thanks,
Bleh