Is there any way that we can get the quotient and remainder for a modulus operation in perl ?
For example : I have a variable $var = 4999. I perform a modulo operation on it (%100) and get values of 49(quotient) and 99 (remainder) and assign it to two different variables.
Is there any module or way to do this in perl ?
In reply to Modulo operation to return quotient and remainder by darklord_999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |