Surprising result with the block “is in the list”?
Hello everyone,
The example below illustrates my surprise!
This example comes from an RFID scan that gives me the UID of a tag. This tag is compared to the list of tags already registered.
Kodular tells me that “04E668” is already in the list (04E468 04A468)> which is normally wrong !!
What’s wrong !
Thank you
Ced
TimAi2
(metricrat)
August 25, 2021, 9:06pm
2
I believe the blocks think these are scientific e notation numbers
e.g. 04E668 is 4 x 10 to the power of 668
These numbers are so big that that appear to be the same…
As a workaround you might need to add another character to the beginning of each item:
4 Likes
Thank you Tim, always present to enlighten me! I did not have to consider this outcome!
system
(system)
Closed
September 24, 2021, 9:56pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.