Do not forget about rounding. For instance, if y = 99, I dare say that x = y / 
100.0 would give x = 1, but of course x = y / 100 would give x = 0. If you want 
to round the result, just use x = (y + 50) / 100.

Integer arithmetic is much quicker than floating point. If you have some kind 
of hardware assistance, it will be an order of magnitude faster. If you are 
using software, it will be two orders of magnitude.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to