Re: Use of floating point numbers ?
JS has had arbitrarily long integers - Bigint - as a primitive since 2019, and is now supported across all Browsers.
Before that the only numeric primitive was "Number" which silently switched between integer and 64 bit floating point when integer could not be represented - kind of a nightmare.