Child pages
  • Number

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryThe largest representable number.The smallest representable number.Special value representing negative infinity; returned on overflow.Special "not a number" value.Special value representing infinity; returned on overflow.

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns a string representing the number in exponential notation.Returns a string representing the number in exponential notation.Returns a string representing the number in fixed-point notation.Returns a string representing the number in fixed-point notation.Converts the number into a string which is suitable for presentation in the given locale.Returns a string representing the number to a specified precision in fixed-point or exponential notation.Returns a string representing the number to a specified precision in fixed-point or exponential notation.Returns a string representing the specified Number object.Returns a string representing the specified Number object.

propertyservoy sDetail2100%height:30px2Property DetailsMAX_VALUEname

MAX_VALUE

dessIndent
The largest representable number.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow MIN_VALUEname

MIN_VALUE

dessIndent
The smallest representable number.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 NEGATIVE_INFINITYname

NEGATIVE_INFINITY

dessIndent
Special value representing negative infinity; returned on overflow.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 NaNname

NaN

dessIndent
Special "not a number" value.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 POSITIVE_INFINITYname

POSITIVE_INFINITY

dessIndent
Special value representing infinity; returned on overflow.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 

functionservoy sDetail2100%height:30px2Methods DetailstoExponentialname

toExponential()

dessIndent
Returns a string representing the number in exponential notation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow toExponentialname

toExponential(fractionDigits)

dessIndent
Returns a string representing the number in exponential notation.
prs

Parameters

sIndentfractionDigitsAn integer specifying the number of digits after the decimal point. Defaults to as many digits as necessary to specify the number.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toFixedname

toFixed()

dessIndent
Returns a string representing the number in fixed-point notation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toFixedname

toFixed(digits)

dessIndent
Returns a string representing the number in fixed-point notation.
prs

Parameters

sIndentdigitsThe number of digits to appear after the decimal point. Defaults to 0.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toLocaleStringname

toLocaleString()

dessIndent
Converts the number into a string which is suitable for presentation in the given locale.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toPrecisionname

toPrecision()

dessIndent
Returns a string representing the number to a specified precision in fixed-point or exponential notation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toPrecisionname

toPrecision(precision)

dessIndent
Returns a string representing the number to a specified precision in fixed-point or exponential notation.
prs

Parameters

sIndentprecisionAn integer specifying the number of significant digits.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toStringname

toString()

dessIndent
Returns a string representing the specified Number object.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toStringname

toString(radix)

dessIndent
Returns a string representing the specified Number object.
prs

Parameters

sIndentradixAn integer between 2 and 36 specifying the base to use for representing numeric values
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow