JavaScript Numbers_basics Guide
Number fundamentals: decimal, hex, octal, binary, exponents, and special numeric values. The guide walks through Number Formats. Decimal: 42. Hex: 0xFF. Octal: 0o77. Binary: 0b1010. Exponent: 1.5e6. Underscore separator: 1_000_000. Special: Infinity, -Infinity, NaN. Check: `Number.isFinite()`, `Number.isNaN()`, `isFinite()`, `isNaN()`. Division by zero returns Infinity (not error). parseInt, parseFloat for string conversion. The guide is organized into 1 sections that build on each other, each pairing a prose explanation with runnable code. Related guides: Arrays, Strings, Numbers, Math, Date. This is one of 145 JavaScript guides on JS Reference — see the full list on the guides page. Practice what you learn in the JavaScript playground, and look up any unfamiliar term in the JavaScript glossary.