toExponential()

Description :

This method converts the given number into exponential form.

Syntax :

[number].toExponential(value)

Input Parameters :

value - Optional
The number of digits needs to be considered after decimal. By default it takes as much as decimal if the value is not given. The value must be between 1-100

Return Values :

Returns the number in exponential form.


Test this method :

Test Result :   
Your Code :