Line 25 loses the minus sign for negative numbers.   Just be positive on 
everything then it isn’t a problem.  😊

 

From: M100 <[email protected]> On Behalf Of 
[email protected]
Sent: Sunday, July 9, 2023 6:37 PM
To: [email protected]
Subject: Re: [M100] Convert integer to string WITHOUT leading space?

 

 

Line 20 has the leading space and line 25 doesn’t.   It’s  brute force but it 
is one way to get rid of the leading space.

Lloyd

 



 

-----Original Message-----
From: M100 <[email protected] 
<mailto:[email protected]> > On Behalf Of mark audacity romberg
Sent: Sunday, July 9, 2023 5:58 PM
To: [email protected] <mailto:[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?

 

 

Reply via email to