Child pages
  • Math

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 SummaryEuler's constant and the base of natural logarithms.Natural logarithm of 10.Natural logarithm of 2.Base 10 logarithm of E.Base 2 logarithm of E.Ratio of the circumference of a circle to its diameter.Square root of 1/2.Square root of 2.

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns the absolute value of a number.Returns the arccosine (in radians) of a number.Returns the arcsine (in radians) of a number.Returns the arctangent (in radians) of a number.Returns the arctangent of the quotient of its arguments.Returns the smallest integer greater than or equal to a number.Returns the cosine of a number.Returns Enumber, where number is the argument, and E is Euler's constant, the base of the natural logarithms.Returns the largest integer less than or equal to a number.Returns the natural logarithm (base E) of a number.Returns the greater of two (or more) numbers.Returns the lesser of two (or more) numbers.Returns base to the exponent power, that is, base exponent.voidReturns a pseudo-random number between 0 and 1.voidReturns the value of a number rounded to the nearest integer.voidReturns the sine of a number.voidReturns the square root of a number.voidReturns the tangent of a number.

propertyservoy sDetail2100%height:30px2Property DetailsEname

E

dessIndentEuler's constant and the base of natural logarithms. Approximately 2.718.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow LN10name

LN10

dessIndentNatural logarithm of 10. Approximately 2.302.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
LN2name

LN2

dessIndentNatural logarithm of 2. Approximately 0.693.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
LOG10Ename

LOG10E

dessIndentBase 10 logarithm of E. Approximately 0.434.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
LOG2Ename

LOG2E

dessIndentBase 2 logarithm of E. Approximately 1.442.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
PIname

PI

dessIndentRatio of the circumference of a circle to its diameter. Approximately 3.14159.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
SQRT1_2name

SQRT1_2

dessIndentSquare root of 1/2. Equivalently, 1 over the square root of 2, approximately 0.707.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
SQRT2name

SQRT2

dessIndentSquare root of 2. Approximately 1.414.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods Detailsabsname

abs(x)

dessIndentReturns the absolute value of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow acosname

acos(x)

dessIndentReturns the arccosine (in radians) of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
asinname

asin(x)

dessIndentReturns the arcsine (in radians) of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
atanname

atan(x)

dessIndentReturns the arctangent (in radians) of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
atan2name

atan2(y, x)

dessIndentReturns the arctangent of the quotient of its arguments.prs

Parameters

sIndenty x 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
ceilname

ceil(x)

dessIndentReturns the smallest integer greater than or equal to a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
cosname

cos(x)

dessIndentReturns the cosine of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
expname

exp(x)

dessIndentReturns Enumber, where number is the argument, and E is Euler's constant, the base of the natural logarithms.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
floorname

floor(x)

dessIndentReturns the largest integer less than or equal to a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
logname

log(x)

dessIndentReturns the natural logarithm (base E) of a number.prs

Parameters

sIndentx 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
maxname

max(value)

dessIndentReturns the greater of two (or more) numbers.prs

Parameters

sIndentvalue 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
minname

min(value)

dessIndentReturns the lesser of two (or more) numbers.prs

Parameters

sIndentvalue 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
powname

pow(base, exponent)

dessIndentReturns base to the exponent power, that is, base exponent.prs

Parameters

sIndentbase exponent 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
randomname

random()

dessIndentReturns a pseudo-random number between 0 and 1.
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
roundname

round(x)

dessIndentReturns the value of a number rounded to the nearest integer.prs

Parameters

sIndentx 
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
sinname

sin(x)

dessIndentReturns the sine of a number.prs

Parameters

sIndentx 
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
sqrtname

sqrt(x)

dessIndentReturns the square root of a number.prs

Parameters

sIndentx 
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
tanname

tan(x)

dessIndentReturns the tangent of a number.prs

Parameters

sIndentx 
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow