JavaScript has only one type of numbers – 64-bit float point. It's the same as Java's double. Unlike most other programming languages, there is no separate integer type, so 1 and 1.0 are the same value.
In this chapter, we'll learn how to create numbers and perform operations on them (like additions and subtractions).
Last modified 3yr ago