Simple math

Started by seckner, November 24, 2014, 08:33:33 AM

Previous topic - Next topic

seckner

Simple to all except me obviously - Setting up an Elapsed Time counter - I've got it counting seconds and displaying those seconds BUT can't quite figure out how to have it show 5:00 minutes vs. 300 seconds. Any help appreciated!

td

One of several approaches

Code (winbatch) Select

nSecs = 300
strMinSec = nSecs/60:':':StrFixCharsL(nSecs mod 60, '0', 2)
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade