b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 8819587 (Thread)

# don't confuse me with science
i need a nap and some cookies and milk
(, Thu 9 Oct 2008, 20:47, archived)
#
% (Modulus)

The modulus operator is used as follows:

var1 % var2

The modulus operator returns the first operand modulo the second operand, that is, var1 modulo var2, in the preceding statement, where var1 and var2 are variables. The modulo function is the integer remainder of dividing var1 by var2. For example, 12 % 5 returns 2. The result will have the same sign as var1; that is, −1 % 2 returns −1.
(, Thu 9 Oct 2008, 20:49, archived)
# yeah i know
where is the divide symbol@?
edit : found it / / / / / :D stupid new keyboard! (excuses excuses)
(, Thu 9 Oct 2008, 20:49, archived)
# /
Heh you found it.
(, Thu 9 Oct 2008, 20:50, archived)
# /
(, Thu 9 Oct 2008, 20:50, archived)
# incorrect
(, Thu 9 Oct 2008, 20:50, archived)
# NO U
(, Thu 9 Oct 2008, 20:52, archived)
# Surely 100 % 4 = 0 then
(, Thu 9 Oct 2008, 20:52, archived)
# Exactly.
That's what I said.
(, Thu 9 Oct 2008, 20:54, archived)
# Top ninjaing.
(, Thu 9 Oct 2008, 20:55, archived)
# FUCK YEAH
NO-ONE NOTICED AT ALL
(, Thu 9 Oct 2008, 20:55, archived)
# Noticed what?
(, Thu 9 Oct 2008, 20:57, archived)
# Dude we're so fucking smooth
(, Thu 9 Oct 2008, 21:00, archived)
# Get your maths right!
I equals kibble!
(, Thu 9 Oct 2008, 20:55, archived)
# My calculator doesn't seem to have a kibble button,
should I upgrade?
(, Thu 9 Oct 2008, 21:00, archived)
# Now implement FizzBuzz.
(, Thu 9 Oct 2008, 20:57, archived)