Bug in STRIP(STR(X+1))


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on March 26, 2024 at 13:55:09:

This Bug looks familiar. I think I saw something similar before...

In my code I use something like this:

Let X$ = Strip(Str(X+1)) ! X is an integer

The very first time that a line similar to this is executed I get:

X$ = '1.00000000' ! Not Sure how many zeros

After that I will get the proper X$ = '1'

Adding INT() prevent the problem but it shouldn't be necessary.


This was tested on Comet32 Build 538/20.02 on Windoze 7 Pro


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]