Author Topic: Basic Math Problems  (Read 890 times)

you make me want to hit myself with a variety of blunt and sharp objects repeated several times
Then do it again

$var += %othervar;
$var -= %othervar;
$var *= %othervar;
$var /= %othervar;
$var %= %othervar;

+    add
-     subtract
*    multiply
/     divide
%   modulus (remainder)
« Last Edit: April 28, 2012, 10:52:48 AM by Ipquarx »

i think the second one would've worked too with a semicolon
in java {} are used by for/while/if and other statements, but can also stand alone, so i'd assume it'd not affect anything here either
And in about a hundred other programming languages, yes.