Numbers in JavaScript

String MethodsNumber Methods

JavaScript has a single Number type that covers both integers and floating-point numbers. It follows the IEEE 754 double-precision standard.

Basic Number Operations

Special Number Values

JavaScript has special values for certain conditions.

The Math Object

Math provides useful constants and functions for calculations.

Random Numbers

Number Formatting

Parsing Numbers

Quick Quiz

We have reviewed and checked the materials, but errors may still occur. The content is provided for educational purposes only, so use it at your own responsibility and verify with other sources if needed.

✨ Ask Lara — your AI study partner

Unlock personalized learning support. Lara can explain lessons, summarize topics, and answer your study questions — available from the Go plan and above.


Lara helps you learn faster — exclusive to ReadyTools Go, Plus, and Max members.

Track Your Progress 🚀

Learn more easily by tracking your progress completely for free.