Skip to main content
Participant
October 21, 2019
Question

Leading Zeros in Captivate

  • October 21, 2019
  • 3 replies
  • 200 views

Has anyone found a way to keep leading zeros when displaying a variable in Captivate? I've tried everything I can think of from advanced actions, java scripting, etc.

    This topic has been closed for replies.

    3 replies

    Stagprime2687219
    Legend
    October 22, 2019

    If you are simply assigning the value - the difference is whether or not you use quotes.

    If you want to do some other sort of manipulation with them - that can change things.

    That is why I asked for an example so I could try to be a bit more specific.

     

    Lilybiri
    Legend
    October 22, 2019

    Use JS to convert the number in a string, displaying all characters.

    Stagprime2687219
    Legend
    October 22, 2019

    In the past, where possible, I have tried to render the numbers as strings.
    Do you have a specific example?