Jump to content

Is there anyway to force a leading zero with a global?


iqoniq

Recommended Posts

I've got a global variable that I need to display in the terminal. That bit works fine, but I'm wondering if there's any way to force it to display a number like 89 as 089.

 

Thanks for any help in advance.

Link to comment
Share on other sites

If it's essential to use Globals then the only workaround I can think of is to use two global variables, Global1 = 0 and Global2 = 89. Probably there are better solutions though..

I think that's what I'm going to have to do. I'm going to have to script an abacus as there's some maths involved, but easy enough.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...