jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
However this doesn't work at all, but I hope it explains what I would like todo (everything in 1 line :)my ($a, $b) = 301 % 60 ; # or my ($a, $b) %= 301 / 60 ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep integer and fractional part from a division (modulus ?)
by Hofmator (Curate) on Aug 11, 2006 at 11:51 UTC | |
by rhesa (Vicar) on Aug 11, 2006 at 12:05 UTC | |
|
Re: grep integer and fractional part from a division (modulus ?)
by rhesa (Vicar) on Aug 11, 2006 at 11:59 UTC | |
|
Re: grep integer and fractional part from a division (modulus ?)
by Samy_rio (Vicar) on Aug 11, 2006 at 11:53 UTC | |
|
Re: grep integer and fractional part from a division (modulus ?)
by swampyankee (Parson) on Aug 11, 2006 at 17:51 UTC | |
|
Re: grep integer and fractional part from a division (modulus ?)
by injunjoel (Priest) on Aug 11, 2006 at 16:31 UTC |