|
-
Oct 1st, 2001, 01:37 AM
#1
Thread Starter
Fanatic Member
Can this be condesed to one line???
aduration = Int(ms / 1000)
bduration = aduration Mod 60 'calculates secs
cduration = (aduration - bduration) / 60 'calculates mins
Duration = cduration & ":" & bduration
This code uses the Mod function to convert seconds to Minutes and seconds. However, I need all of this in just on line for what duration =.... can this be condensed?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|