how can i convert an integer to a string?
StationGlobals.MyInteger is 1.
Using Str(StationGlobals.MyInteger) should convert it to "01" instead of only 1.
How can this be done?
Solved! Go to Solution.
You can achieve this functionality by right-clicking on StationGlobals.MyInteger, selecting Numeric Format, change the type to Integer, and increasing the Minimum Number of Digits to 2.
Thanks for the screenshot.
I took the format string "%.2i" into my str() function and have now there also 2 digits.