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

dessIndentThe largest representable number.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow MIN_VALUEname

MIN_VALUE

dessIndentThe smallest representable number.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
NEGATIVE_INFINITYname

NEGATIVE_INFINITY

dessIndentSpecial value representing negative infinity; returned on overflow.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
NaNname

NaN

dessIndentSpecial "not a number" value.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
POSITIVE_INFINITYname

POSITIVE_INFINITY

dessIndentSpecial 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()

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentConverts 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()

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentReturns a string representing the specified Number object.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
toStringname

toString(radix)

dessIndentReturns 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