Code: Select all
Debug Val("84002390")
Debug ValF("84002390")
Debug ValF("84002390.0")
Debug ValD("84002390")
Debug ValD("84002390.0")
I'm now scanning my code for other uses of ValF(), to consider changing them to ValD().
Code: Select all
Debug Val("84002390")
Debug ValF("84002390")
Debug ValF("84002390.0")
Debug ValD("84002390")
Debug ValD("84002390.0")
Code: Select all
Debug "Bit length: " + Str(Len(Bin(84002390)))
It has nothing to do with the magnitude of the number. It is the limit of precise digits (in the base-2 representation).
Code: Select all
Debug ValD("4.6")