The math is working great - you overflowed (went beyond 16 bits)
12*10000 = 120000 = $1D4C0 (hex)
keeping the lower 16 bits = $D4C0 = 54464
clear as mud?
The math is working great - you overflowed (went beyond 16 bits)
12*10000 = 120000 = $1D4C0 (hex)
keeping the lower 16 bits = $D4C0 = 54464
clear as mud?
Last edited by paul borgmeier; - 14th June 2008 at 19:46.
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks