Hi,

I use mod a lot simply for fast checking if a number is a multiple of another number

if mod(number1,number2) = 0 then number1 is a multiple of number2


Il giorno 09/mag/04, alle 18:44, Robert Reed ha scritto:


Thomas

MOD is a way to get the remainder from a division
problem.  It does not take into account fractions like
we do in real math.  It's more basic and elementary.
Mod of 5 by 2 would be 1.  The answer is 2 remainder
1, thus the MOD is 1.  I myself have never used this
fuction but I'm sure lots of others on the list have
found a use for it.

cheers
--- Thomas Nyman <[EMAIL PROTECTED]> wrote:


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to