Hi,
If I enter a double type number into an array cell in a global table the formatting is different above a certain limit.I have not yet figured out what the limit is, but 500000000 is below it and when I multiply that by five, then it is above the limit.Above the limit a dot and following zeroes are added into the array. I guess it has something to do with how the number is stored after a certain limit.
The problem is that when I do a query on the table I have to include the dot and the following zeroes to find the value if it is above the limit, but when below the limit it does not matter if I include the dot and the zeroes. It seems weird that I would need to include the dot and following zeroes when querying for a number, but I guess it has to do with it that the query uses strings. So I need to do string.fromNum(number, 1) where one is the precision I need to find the value.
See the attached model for a showcase of the problem. The testing code is in the script window
numbersinarraychangehowtheyshowabovelimit.fsm
Kind regards,
Axel