In researching for the post on 128bit numbers, I've isolated the following code and believe that this is a bug.
I am running on Linux Ubuntu 20.04.2 LTS, and screen print is attached.
I am print the following number: 10.349449797507
And regardless of whether I use FLOAT, DOUBLE or SINGLE type, if my program prints this out with a USING mask, I get garbage after the end of the number.
There are occasions where your mask must be larger than a number because a program may not know how big or small the number you are to PRINT.
This should not happen. The rest of the mask after the last digit should be all ZEROES.
The screen print shows the various values printed after the valid end of the number.
result = 10.349449797507
answer = 10.349449797507
result2 = 10.349449797507
PRINT USING "The value is: ###.#########################"; result
PRINT USING "The value is: ###.#########################"; answer
PRINT USING "The value is: ###.#########################"; result2
[ You are not allowed to view this attachment ]