.toExponential()

Term side of the Card
Topic: Number
Unit title: .toExponential()
Categories: Method
Explanation side of the Card

Explanation: The method that converts a number to a string in exponential notation (also known as scientific notation). It can optionally take an argument to specify the number of digits after the decimal point.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 2
Availability: