07-06-2005, 05:26 AM
Quote:O_o in qb people used ltrim$( str$( somenum% ) ) :roll: :wink:
No, actually QB people, who are not aware of FB, do:
Code:
num$ = mid$(str$(somenum%),2)
What v1ctor has done in FB is to suppress the leading space previously created by the str$ alltogether when the number is positive. This may be aesthetically very pleasing, but it has, and will, lead to confusion.
The solution compatible to QB and FB is to do the following which we've already seen above:
Code:
num$ = ltrim$(str$(somenum%)))
*****