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

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowLN10name

LN10

dessIndent
Natural logarithm of 10. Approximately 2.302.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
LN2name

LN2

dessIndent
Natural logarithm of 2. Approximately 0.693.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
LOG10Ename

LOG10E

dessIndent
Base 10 logarithm of E. Approximately 0.434.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
LOG2Ename

LOG2E

dessIndent
Base 2 logarithm of E. Approximately 1.442.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
PIname

PI

dessIndent
Ratio 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

dessIndent
Square 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

dessIndent
Square 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)

dessIndent
Returns the absolute value of a number.
prs

Parameters

sIndentx ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowacosname

acos(x)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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)

dessIndent
Returns 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()

dessIndent
Returns a pseudo-random number between 0 and 1.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
roundname

round(x)

dessIndent
Returns the value of a number rounded to the nearest integer.
prs

Parameters

sIndentx ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
sinname

sin(x)

dessIndent
Returns the sine of a number.
prs

Parameters

sIndentx ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
sqrtname

sqrt(x)

dessIndent
Returns the square root of a number.
prs

Parameters

sIndentx ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
tanname

tan(x)

dessIndent
Returns the tangent of a number.
prs

Parameters

sIndentx ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow