Number Type Extensions
Extends the base ECMAScript (JavaScript) Number functionality with static and instance methods.
Namespace: None. This type extension is global and not part of a namespace.
Inherits: None
var numberVar = Number.parseInvariant("4");
Number extensions are part of the Microsoft Ajax Library. They add functionality to the JavaScript Number object and provide members that are more familiar to .NET programmers.
For more information about the JavaScript object that this type extends and about its constructor, see JScript Number Object in the Language Reference.
Community Additions
Show: