Class JSNumber
- java.lang.Object
-
- org.fife.rsta.ac.js.ecma.api.ecma3.JSNumber
-
- All Implemented Interfaces:
JSNumberFunctions,JSObjectFunctions
public abstract class JSNumber extends java.lang.Object implements JSNumberFunctions
Object Number- Since:
- Standard ECMA-262 3rd. Edition
-
-
Field Summary
Fields Modifier and Type Field Description protected JSFunctionconstructorproperty constructorstatic JSNumberMAX_VALUEproperty MAX_VALUE The largest representable number.static JSNumberMIN_VALUEproperty MIN_VALUE The smallest representable number.static JSNumberNaNproperty NaN Not-a-number value.static JSNumberNEGATIVE_INFINITYproperty NEGATIVE_INFINITY Negative infinite value.static JSNumberPOSITIVE_INFINITYproperty POSITIVE_INFINITY Infinite value.JSNumberprototypeproperty prototype
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSNumberFunctions
toExponential, toFixed, toPrecision
-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
-
-
-
Field Detail
-
prototype
public JSNumber prototype
property prototype- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
constructor
protected JSFunction constructor
property constructor- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Function
-
MIN_VALUE
public static JSNumber MIN_VALUE
property MIN_VALUE The smallest representable number.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
MAX_VALUE
public static JSNumber MAX_VALUE
property MAX_VALUE The largest representable number.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
NaN
public static JSNumber NaN
property NaN Not-a-number value.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
NEGATIVE_INFINITY
public static JSNumber NEGATIVE_INFINITY
property NEGATIVE_INFINITY Negative infinite value.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
-
Constructor Detail
-
JSNumber
public JSNumber(JSObject value)
Object Number(value)- Parameters:
value- The numeric value of the Number object being created or a value to be converted to a number.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
-
-