Math Functions

Lists the math functions available for use in the Newlook development environment.

Function

Description

Abs

Return the absolute value of a number.

Atn

Return the arctangent of a number.

Cos

Return the Cosine of an angle.

Exp

Return the base of a natural logarithm raised to a power.

Fix

Return the integer portion of a floating-point number.

Int

Return the integer portion of a floating-point number.

Log

Return the natural logarithm of a number.

Max

Return the maximum of two values.

Min

Return the minimum of two values.

Rnd

Generate a random number.

Round

Return the nearest integer number.

Sgn

Return the sign of a number.

Sin

Return the sine of an angle.

Sqr

Return the square root of a number.

Tan

Return the tangent of an angle.

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

Conversion functions | Date and Time functions | Inspection functions | International functions | Program flow functions | String functions | System functions | Functions


© 2004-2021 looksoftware. All rights reserved.