Exponential notation will now always answer a Float instance
VAST allows the use of Exponential Notation to define numbers, for example "1e2" or "42e10". The Smalltalk parser can use that nomenclature to build number instances. In VAST version 9.2.2 and before those expressions result in Integer instances like 100 (1e2) or 420000000000 (42e10). Starting in VAST 2021 (10.0.0), those expressions answer Float instances: 100.0 (1e2) and 420000000000.0 (42e10).
Reason for change
We believe it's clearer and more correct to always build a Float when you use the Exponential Notation.
Action required
If there are cases where you actually need an Integer instead of a Float you can always send the message #asInteger. For example, "1e2 asInteger".
Last modified date: 06/09/2021