Announcement

Collapse
No announcement yet.

Displaying Leading Zeroes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tom Bohon
    replied
    Thanks to you both. I'll figure this (kinda sorta) new dialect out one of these days ... .

    Appreciate it!

    Tom

    Leave a comment:


  • Paul Dixon
    replied
    Tom,
    look at the FORMAT$ function. It allows you to explicitly set leading zeroes.

    Paul.

    Leave a comment:


  • Mel Bishop
    replied
    REPLACE chr$(32) with chr$(48) in a$

    Leave a comment:


  • Tom Bohon
    started a topic Displaying Leading Zeroes

    Displaying Leading Zeroes

    I'd like to display a two (numeric) digit field with a leading zero. Using the following code

    Code:
    a$ = USING$("##  :  ", ix)
    I get a leading space. I tried a couple of things including a *x in the format string without success.

    I know this is going to be embarassing but how do I display leading zeroes???

    Tnx in advance.

    Tom
Working...
X