Quote: "Nah, the divisions will be cast as integer divisions, not floating point in this case. So 82/10 in DB & DBpro ='s 8"
I know but they'll come out with different answers
cls
Divider=10*10
n=82
a = n - n/Divider
b = n - n/10*10
c = n/Divider
d = n/10*10
print a
print b
print c
print d
suspend for key
end
It's to do with the order of operation. Basically, if you imagine it's a fraction, his method multiplies the numerator, whereas yours multiplies the denominator, therefore coming out with completely different numbers.
"The fools may crash down upon us in thunderous waves, but we shall Jeku slap them back from whence they came"
-BiggAdd Oct 28th 2009