JavaScript Number Methods
You are Here:
Number Methods
The following table provides a list of all Number
methods available in JavaScript.
Methods | Explanation |
---|---|
isFinite() | Checks whether a value is a finite number |
isInteger() | Checks whether a value is an integer |
isNaN() | Checks whether a value is Number.NaN |
isSafeInteger() | Checks whether a value is a safe integer |
toExponential(x) | Returns a string representing the number (x) in exponential notation |
toFixed() | Returns a string representing the number (x) in fixed-point notation. |
toPrecision() | Returns a string representing the number to x length |
toString() | Returns a string representing the specified object in the specified radix (base) |
valueOf() | Returns the primitive value of the specified object. |
Reminder
Hi Developers, we almost covered 97% of JavaScript Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in JavaScript.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.