We currently only use floats for all NUMBER values. This is because doing comparisons like 7 == 7.0 would return false if we allowed integers.
The better solution moving forward would be to allow integers, and have proper handling of edge cases where the type difference can introduce unexpected behavior.
We currently only use floats for all
NUMBERvalues. This is because doing comparisons like7 == 7.0would returnfalseif we allowed integers.The better solution moving forward would be to allow integers, and have proper handling of edge cases where the type difference can introduce unexpected behavior.