Forum: PHP
Apr 27th, 2005, 4:53 PM
|
|
Replies: 2
Views: 255
$n * 1000 and Mod
I've been using fmod to validate data entry in Terry's Turkeys. You need to check weights are entered in 5g increments. So i take the input, *1000 and take the modulus for 5.
This threw up an odd...
|