JavaScript Programmer’s Reference Number formats (Adelphia web hosting) (.) (Definition) The
JavaScript Programmer’s Reference Number formats (.) (Definition) The period character is used as numeric delimiter character. ECMA describes these formats as Numeric literals. Availability: ECMAScript edition 2 See also: Decimal point (.), Numeric literal Cross-references: ECMA 262 edition 2 section 7.7.3 ECMA 262 edition 3 section 7.8.3 Number object (Object/core) An object of the class “Number”. Availability: ECMAScript edition 2 JavaScript 1.1 JScript 1.0 Internet Explorer 3.02 Netscape 3.0 Netscape Enterprise Server 2.0 Opera 3.0 -myNumber = new Number()JavaScript syntax: -myNumber = Number Object properties: constructor, prototype Class constants: MAX_VALUE, MIN_VALUE, NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY Object methods: toExponential(), toFixed(), toLocaleString(), toPrecision(), toSource(), toString(), valueOf() An instance of the class Numberis created by using the new operator on the Number() constructor. The new object adopts the behavior of the built-in prototype object through the prototype- inheritance mechanisms. All properties and methods of the prototypeare available as if they were part of the instance. A number object is a member of the type Objectand is an instance of the built-in Number object. 1550