in reply to RE: Convert seconds into a formatted ddd:hh:mm:ss string
in thread Convert seconds into a formatted ddd:hh:mm:ss string
To make the divs integer you'll need to add the line use integer; as I did. Unfortunately you can't really mix /= and int().
Update:
Tye is right, while you are dealing with floats, they won't have any negative effect, and the printf will convert them to ints correctly. So its all good. ++ for fundflow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Convert seconds into a formatted ddd:hh:mm:ss string
by fundflow (Chaplain) on Aug 31, 2000 at 02:46 UTC | |
by husker (Chaplain) on Aug 31, 2000 at 18:07 UTC | |
|
RE: RE: RE: Convert seconds into a formatted ddd:hh:mm:ss string
by tye (Sage) on Aug 31, 2000 at 02:33 UTC | |
|
RE: RE: RE: Convert seconds into a formatted ddd:hh:mm:ss string
by BlaisePascal (Monk) on Aug 31, 2000 at 02:37 UTC |