Thread
:
$n * 1000 and Mod
View Single Post
May 20th, 2005, 2:48 PM
#
3
mackenga
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power:
4
Yeah, the trouble is that although it's an integer, it's an integer stored in a floating point variable and you can't use modulo with floating point, even if it happens to contain an integer value.
mackenga
View Public Profile
Visit mackenga's homepage!
Find More Posts by mackenga