Leading Zeroes In Operate

I'm trying to display a time in operate that I've calculated and can't seem to find a format that will show a leading zero.  Anyone tackled this before?

  • Have you tried using the datalink format field?

  • Yes.  I tried that it's setup as %2.0f but it left justifies a single digit when my number falls below 10.

  • You are going to have to generate any leading zeros in the controller where you are calculating the time unfortunately.
  • I've run into this before, and just used a static text "0" with an animated visible condition when the value is < 10.
  • I set it up exactly as Bill suggested. Thanks for the help everyone.
  • In reply to chip.burge:

    If you change the Format to %02.0f a leading zero will be displayed.