Problems? Is your data what you think it is? | |
PerlMonks |
Re: solving modulo troubleby aaron_baugher (Curate) |
on Jun 20, 2015 at 21:57 UTC ( [id://1131299]=note: print w/replies, xml ) | Need Help?? |
In math terms, when you do a division problem, dividing gives you the quotient and taking the modulo gives you the remainder. Here, dividing a number of seconds by 3600 and dropping the decimal gives you the hours. Taking the modulo gives you the remainder of seconds:
Aaron B.
In Section
Seekers of Perl Wisdom
|
|