perl -e 'my @a = qw(1:08 2:53 1:00); foreach(@a){($min, $sec)=split /: +/;$time+=($min*60)+$sec}; print $time=int($time/60).":".(sprintf "%.2 +d", $time%60)."\n"'
In reply to Re: How to add minutes with seconds?
by smokemachine
in thread How to add minutes with seconds?
by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |