Try it when A% is equal to a negative number like -10 for example and see if the extra leading space it no longer there.
Jeff Birt -----Original Message----- From: M100 <[email protected]> On Behalf Of mark audacity romberg Sent: Sunday, July 9, 2023 5:58 PM To: [email protected] Subject: [M100] Convert integer to string WITHOUT leading space? How do I do this? STR$(A%) returns the value of A% with a leading space. This is not how the M100 manual indicates STR$() works, and I can’t believe there’s no way to get a numerical variable as a string that’s just the number?
