91-9990449935 0120-4256464 |
JavaScript Number ObjectThe JavaScript number object enables you to represent a numeric value. It may be integer or floating-point. JavaScript number object follows IEEE standard to represent the floating-point numbers. By the help of Number() constructor, you can create number object in JavaScript. For example: If value can't be converted to number, it returns NaN(Not a Number) that can be checked by isNaN() method. You can direct assign a number to a variable also. For example: Test it NowOutput:
102 102.7 130000 16
JavaScript Number ConstantsLet's see the list of JavaScript number constants with description.
JavaScript Number MethodsLet's see the list of JavaScript number methods with description.
Next TopicJavaScript Boolean
|