Code: Select all
// just some arbitrary value, also note that It can be positive or negative
double f = FRandom(-555555.0, 555555.0);
void somefunction()
{
f *= 0.9;
}
How do I do this? I've tried the usual comparison operators but I can't get it to work... I guess due to rounding errors?