Siebel eScript Language Reference > Siebel eScript Quick Reference > Other Clib Methods >

Mathematical Methods and Properties


This topic describes mathematical methods and properties.

Numeric Methods

Table 196 describes numeric methods.

Table 196. Quick Reference for Numeric Methods
Method
Description

Clib Create Random Number Method

Creates a pseudo-random number.

Clib Divide Method

Performs integer division and returns a quotient and remainder.

Clib Get Integer Method

Returns the integer part of a decimal number.

Clib Get Normalized Mantissa Method

Breaks a real number into a mantissa and an exponent as a power of 2.

Clib Initialize Random Number Generator Method

Creates an initial value for the random number generator.

Get Absolute Value Method

Returns the absolute value of an integer.

Get Ceiling Method

Returns the smallest integer that is not less than the value that the number argument contains.

Get Exponential Method

Computes the exponential function.

Get Floor Method

Returns the greatest integer that is not greater than the value that the number argument contains.

Get Logarithm Method

Calculates the natural logarithm.

Get Maximum Method

Returns the largest of one or more values.

Get Minimum Method

Returns the smallest of one or more values.

Get Random Number Method

Returns a random real number between 0 and 1.

Get Square Root Method

Calculates the square root.

Raise Power Method

Calculates x to the power of y.

Round Number Method

Rounds a value up or down.

Trigonometric Methods

Table 197 describes trigonometric methods.

Table 197. Quick Reference for Trigonometric Methods
Method
Description

Clib Get Hyperbolic Cosine Method

Calculates the hyperbolic cosine.

Clib Get Hyperbolic Sine Method

Calculates the hyperbolic sine.

Clib Get Hyperbolic Tangent Method

Calculates the hyperbolic tangent.

Get Arc Cosine Method

Calculates the arc cosine.

Get Arcsine Method

Calculates the arcsine.

Get Arctangent 2 Method

Calculates the arc tangent of a fraction.

Get Arctangent Method

Calculates the arc tangent.

Get Cosine Method

Calculates the cosine.

Get Sine Method

Calculates the sine.

Get Tangent Method

Calculates the tangent.

Mathematical Properties

Table 198 describes mathematical properties, each of which is a numeric constant.

Table 198. Quick Reference for Mathematical Properties
Property
Description

Base E Property

Returns the value of e, which is the base for natural logarithms.

Logarithm 10 E Property

Returns the value of the base 10 logarithm of e.

Logarithm 2 E Property

Returns the value of the base 2 logarithm of e.

Math Natural Logarithm 10 Property

Returns the value of the natural logarithm of 10.

PI Property

Returns the value of pi.

Square Root 1/2 Property

Returns the value of the square root of ½.

Square Root 2 Property

Returns the value of the square root of 2.

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.