Possible Duplicate:
Integer division in JavaScript
Lets say I have a specific number.
B = 350
And I have elements depending on that number, but they all have different amounts of that number in them, like:
c = 351,
d = 710,
e = 1100
What I want is to be presented by the leftover from dividing the c, d, e with B x times. i.e.
c = 1,
d = 10,
e = 50