Liking cljdoc? Tell your friends :D

js.Number

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.
raw docstring

epsiloncljs

(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`
sourceraw docstring

is-finitecljs

(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`
sourceraw docstring

is-integercljs

(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`
sourceraw docstring

is-na-ncljs

(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`
sourceraw docstring

is-safe-integercljs

(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`
sourceraw docstring

max-safe-integercljs

(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`
sourceraw docstring

max-valuecljs

(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`
sourceraw docstring

min-safe-integercljs

(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`
sourceraw docstring

min-valuecljs

(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`
sourceraw docstring

na-ncljs

(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`
sourceraw docstring

negative-infinitycljs

(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`
sourceraw docstring

parse-floatcljs

(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`
sourceraw docstring

parse-intcljs

(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`
sourceraw docstring

positive-infinitycljs

(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`
sourceraw docstring

prototypecljs

(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`
sourceraw docstring

set-epsilon!cljs

(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`
sourceraw docstring

set-max-safe-integer!cljs

(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`
sourceraw docstring

set-max-value!cljs

(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`
sourceraw docstring

set-min-safe-integer!cljs

(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`
sourceraw docstring

set-min-value!cljs

(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`
sourceraw docstring

set-na-n!cljs

(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`
sourceraw docstring

set-negative-infinity!cljs

(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`
sourceraw docstring

set-positive-infinity!cljs

(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`
sourceraw docstring

set-prototype!cljs

(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`
sourceraw docstring

to-exponentialcljs

(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`
sourceraw docstring

to-fixedcljs

(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`
sourceraw docstring

to-integercljs

(to-integer this & args)

Method.

Used to evaluate the passed value and convert it to an integer Infinity), but has been removed.

Method.

Used to evaluate the passed value and convert it to an integer
Infinity), but has been removed.
sourceraw docstring

to-locale-stringcljs

(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`
sourceraw docstring

to-precisioncljs

(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`
sourceraw docstring

to-sourcecljs

(to-source this & args)

Method.

[Non Standard]

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.

[Non Standard]

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`
sourceraw docstring

to-stringcljs

(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`
sourceraw docstring

value-ofcljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close