Welcome Guest! (App Version 3.1)

websitnero logo name

Number Methods

Number Methods in JS

String Library provides many features for String Manipulation of the various string data types in JavaScript. Have a look at the following table:

Number Library Methods
S.No.NameDescriptionExamplesReference
1isFinite()This method determines whether the passed value is finite or not
2isInteger()This method determines whether the passed value is an integer or not
3isNaN()This method determines whether the passed value is NaN and its type is Number or not
4isSafeInteger()This method determines whether the passed value is a number that is a safe integer or not. Safe integer is a value between (253 - 1) and - (253 -1)
5toExponential()This method returns a string representing the Number object in exponential notation.
6toFixed()This method formats a number using fixed-point notation.
7toPrecision()This method returns a string representing the Number object to the specified precision.
8toString()This method returns a string representing the specified Number object.
9valueOf()This method returns the wrapped primitive value of a Number object.
Further Reading

1. Number Object in JavaScript

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.