Development in platform ecosystems
  • Home
  • Learn

JavaScript

  • Introduction
  • Variables
  • Functions
  • Data types
    • Built-in types
    • Strings
    • Numbers
      • Creation
      • Arithmetic
      • Comparison
      • Round
      • From string
    • Booleans
    • Indexed collection (arrays)
    • Keyed collection (objects)
  • Control flow
  • Asynchronous
  • Fetching external data
  • Manipulating documents

JavaScript

  • Introduction
  • Variables
  • Functions
  • Data types
    • Built-in types
    • Strings
    • Numbers
      • Creation
      • Arithmetic
      • Comparison
      • Round
      • From string
    • Booleans
    • Indexed collection (arrays)
    • Keyed collection (objects)
  • Control flow
  • Asynchronous
  • Fetching external data
  • Manipulating documents

JavaScript Number Type

Numbers represent whole and decimal numbers. The Number class wraps the primitive number type, which means that numbers, as with strings, are immutable. All operations we perform on them will result in new number instances.

Read more on MDN

Number

Start Now →

© 2026 DHIS2 Design Lab