Skip to content

Files

Latest commit

Aug 10, 2015
be2cc26 · Aug 10, 2015

History

History
This branch is 10 commits behind GitbookIO/javascript:master.

numbers

Numbers

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).