say we divded 137 by 50... the asnwer is 2, now we have 37 left... is there a way to just store this info?
say we divded 137 by 50... the asnwer is 2, now we have 37 left... is there a way to just store this info?
Yep. You can do modulus using the % operator. Thus, 137 % 50 = 37.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
cool thx man exactly it