[FRPythoneers] Data type conversion

J. Wayde Allen wallen at its.bldrdoc.gov
Wed May 2 10:42:03 MDT 2001


On Wed, 2 May 2001 jafo at tummy.com wrote:

> sampletime = '%02d%02d%02f' % ( hours, minutes, seconds )

> but that's probably not the clearest way to do it, and if you have a
> minutes of 5 you'll get HHMSS, right?  Try the %formatting stuff.

This kind of works, but I can't seem to get the %02f format for the
seconds to keep the zero padding and the fractional part of the seconds at
the same time.  

- Wayde
  (wallen at its.bldrdoc.gov)





More information about the FRPythoneers mailing list