The Number JavaScript object is a wrapper object allowing you work with numerical values. A Number object is created using Number() constructor. A primitive type object number is created the Number() function.
The Number JavaScript object is a wrapper object allowing you work with numerical values. A Number object is created using Number() constructor. A primitive type object number is created the Number() function.
(epsilon this)
Property.
The Number.EPSILON property represents the difference between and the smallest floating point number greater than 1.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/EPSILON
Property. The Number.EPSILON property represents the difference between and the smallest floating point number greater than 1. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/EPSILON`
(is-finite this value)
Method.
The Number.isFinite() method determines whether the passed value a finite number.
Number.isFinite(value)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
Method. The Number.isFinite() method determines whether the passed value a finite number. `Number.isFinite(value)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite`
(is-integer this value)
Method.
The Number.isInteger() method determines whether the passed value an integer.
Number.isInteger(value)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger
Method. The Number.isInteger() method determines whether the passed value an integer. `Number.isInteger(value)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger`
(is-na-n this value)
Method.
The Number.isNaN() method determines whether the passed value
js.NaN
and its type is js.Number
. It is a more robust version
the original, global isNaN()
.
Number.isNaN(value)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
Method. The Number.isNaN() method determines whether the passed value `js.NaN` and its type is `js.Number`. It is a more robust version the original, global `isNaN()`. `Number.isNaN(value)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN`
(is-safe-integer this test-value)
Method.
The Number.isSafeInteger() method determines whether the provided is a number that is a safe integer.
Number.isSafeInteger(testValue)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger
Method. The Number.isSafeInteger() method determines whether the provided is a number that is a safe integer. `Number.isSafeInteger(testValue)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger`
(max-safe-integer this)
Property.
The Number.MAX_SAFE_INTEGER constant represents the maximum safe in JavaScript (253 - 1).
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Property. The Number.MAX_SAFE_INTEGER constant represents the maximum safe in JavaScript (253 - 1). See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER`
(max-value this)
Property.
The Number.MAX_VALUE property represents the maximum numeric representable in JavaScript.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE
Property. The Number.MAX_VALUE property represents the maximum numeric representable in JavaScript. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE`
(min-safe-integer this)
Property.
The Number.MIN_SAFE_INTEGER constant represents the minimum safe in JavaScript (-(253 - 1)).
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
Property. The Number.MIN_SAFE_INTEGER constant represents the minimum safe in JavaScript (-(253 - 1)). See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER`
(min-value this)
Property.
The Number.MIN_VALUE property represents the smallest positive value representable in JavaScript.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE
Property. The Number.MIN_VALUE property represents the smallest positive value representable in JavaScript. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE`
(na-n this)
Property.
The Number.NaN property represents Not-A-Number. Equivalent of
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NaN
Property. The Number.NaN property represents Not-A-Number. Equivalent of See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NaN`
(negative-infinity this)
Property.
The Number.NEGATIVE_INFINITY property represents the negative value.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NEGATIVE_INFINITY
Property. The Number.NEGATIVE_INFINITY property represents the negative value. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NEGATIVE_INFINITY`
(parse-float this string)
Method.
The Number.parseFloat() method parses a string argument and returns floating point number.
Number.parseFloat(string)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/parseFloat
Method. The Number.parseFloat() method parses a string argument and returns floating point number. `Number.parseFloat(string)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/parseFloat`
(parse-int this & args)
Method.
The Number.parseInt() method parses a string argument and returns integer of the specified radix or base.
Number.parseInt(string,[ radix])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/parseInt
Method. The Number.parseInt() method parses a string argument and returns integer of the specified radix or base. `Number.parseInt(string,[ radix])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/parseInt`
(positive-infinity this)
Property.
The Number.POSITIVE_INFINITY property represents the positive value.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/POSITIVE_INFINITY
Property. The Number.POSITIVE_INFINITY property represents the positive value. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/POSITIVE_INFINITY`
(prototype this)
Property.
The Number.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/prototype
Property. The Number.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/prototype`
(set-epsilon! this val)
Property.
The Number.EPSILON property represents the difference between and the smallest floating point number greater than 1.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/EPSILON
Property. The Number.EPSILON property represents the difference between and the smallest floating point number greater than 1. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/EPSILON`
(set-max-safe-integer! this val)
Property.
The Number.MAX_SAFE_INTEGER constant represents the maximum safe in JavaScript (253 - 1).
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Property. The Number.MAX_SAFE_INTEGER constant represents the maximum safe in JavaScript (253 - 1). See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER`
(set-max-value! this val)
Property.
The Number.MAX_VALUE property represents the maximum numeric representable in JavaScript.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE
Property. The Number.MAX_VALUE property represents the maximum numeric representable in JavaScript. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE`
(set-min-safe-integer! this val)
Property.
The Number.MIN_SAFE_INTEGER constant represents the minimum safe in JavaScript (-(253 - 1)).
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
Property. The Number.MIN_SAFE_INTEGER constant represents the minimum safe in JavaScript (-(253 - 1)). See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER`
(set-min-value! this val)
Property.
The Number.MIN_VALUE property represents the smallest positive value representable in JavaScript.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE
Property. The Number.MIN_VALUE property represents the smallest positive value representable in JavaScript. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE`
(set-na-n! this val)
Property.
The Number.NaN property represents Not-A-Number. Equivalent of
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NaN
Property. The Number.NaN property represents Not-A-Number. Equivalent of See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NaN`
(set-negative-infinity! this val)
Property.
The Number.NEGATIVE_INFINITY property represents the negative value.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NEGATIVE_INFINITY
Property. The Number.NEGATIVE_INFINITY property represents the negative value. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NEGATIVE_INFINITY`
(set-positive-infinity! this val)
Property.
The Number.POSITIVE_INFINITY property represents the positive value.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/POSITIVE_INFINITY
Property. The Number.POSITIVE_INFINITY property represents the positive value. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/POSITIVE_INFINITY`
(set-prototype! this val)
Property.
The Number.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/prototype
Property. The Number.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/prototype`
(to-exponential this & args)
Method.
The toExponential() method returns a string representing the object in exponential notation.
numObj.toExponential([fractionDigits])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential
Method. The toExponential() method returns a string representing the object in exponential notation. `numObj.toExponential([fractionDigits])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential`
(to-fixed this & args)
Method.
The toFixed() method formats a number using fixed-point notation.
numObj.toFixed([digits])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed
Method. The toFixed() method formats a number using fixed-point notation. `numObj.toFixed([digits])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed`
(to-integer this number)
Method.
The Number.toInteger() method used to evaluate the passed value convert it to an integer, but its implementation has been removed.
Number.toInteger(number)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toInteger
Method. The Number.toInteger() method used to evaluate the passed value convert it to an integer, but its implementation has been removed. `Number.toInteger(number)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toInteger`
(to-locale-string this & args)
Method.
The toLocaleString() method returns a string with a language-sensitive of this number.
numObj.toLocaleString([locales [, options]])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString
Method. The toLocaleString() method returns a string with a language-sensitive of this number. `numObj.toLocaleString([locales [, options]])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString`
(to-precision this & args)
Method.
The toPrecision() method returns a string representing the js.Number
to the specified precision.
numObj.toPrecision([precision])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision
Method. The toPrecision() method returns a string representing the `js.Number` to the specified precision. `numObj.toPrecision([precision])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision`
(to-source this & args)
Method.
The toSource() method returns a string representing the source of the object.
numObj.toSource() Number.toSource()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toSource
Method. The toSource() method returns a string representing the source of the object. `numObj.toSource() Number.toSource()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toSource`
(to-string this & args)
Method.
The toString() method returns a string representing the specified object.
numObj.toString([radix])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString
Method. The toString() method returns a string representing the specified object. `numObj.toString([radix])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString`
(value-of this)
Method.
The valueOf() method returns the wrapped primitive value of a object.
numObj.valueOf()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/valueOf
Method. The valueOf() method returns the wrapped primitive value of a object. `numObj.valueOf()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/valueOf`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close