Computer Science Canada seems like a stupid question- what is the syntax for a modulus? |
Author: | x-ecutioner [ Fri Feb 06, 2009 10:32 pm ] |
Post subject: | seems like a stupid question- what is the syntax for a modulus? |
argh headache =_= i cant really remember either i havent done turing in a while anyways what is the syntax for a modulus? im used to php and that is the percentage symbol % will i have to result to other methods of mathematics? any ideas? thanks. |
Author: | CodeMonkey2000 [ Fri Feb 06, 2009 10:37 pm ] |
Post subject: | RE:seems like a stupid question- what is the syntax for a modulus? |
You use mod. Ie. a mod b is the modulo of a and b. |
Author: | x-ecutioner [ Fri Feb 06, 2009 10:59 pm ] |
Post subject: | RE:seems like a stupid question- what is the syntax for a modulus? |
ooh dang. alright thanks very much:) |