seems like a stupid question- what is the syntax for a modulus?
Author |
Message |
x-ecutioner
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
CodeMonkey2000
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
x-ecutioner
|
Posted: 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:) |
|
|
|
|
![](images/spacer.gif) |
|
|