Section A.17. Mathematics


A.17. Mathematics

Element

Description

Abs Function

Returns the absolute value of a number

Acos Function

Returns the arccosine in radians

Asin Function

Returns the angle in radians of a sine

Atan Function

Returns the arctangent in radians of a tangent

Atan2 Function

Returns the angle in the Cartesian plane formed by the x-axis and a vector starting from the origin (0, 0) and terminating at a point (x, y)

Ceiling Function

Returns the smallest integer that is greater than or equal to a number

Cos Function

Returns the cosine of an angle

Cosh Function

Returns the hyperbolic cosine of an angle

E Field

Returns the approximate value of the irrational number e

Exp Function

Returns the base of a natural logarithm raised to a power

Fix Function

Returns the integer portion of a number

Floor Function

Returns the largest integer less than or equal to a number

IEEERemainder Function

Returns the remainder resulting from division

Int Function

Returns the integer portion of a number

Log Function

Returns the natural (base e) logarithm of a given number

Log10 Function

Returns the common (base 10) logarithm of a given number

Max Function

Returns the larger of two numbers

Min Function

Returns the smaller of two numbers

Mod Operator

Returns the modulus (the remainder after division)

Partition Function

Returns a string indicating the range in which a number appears

PI Field

Returns the approximate value of p

Pow Function

Returns the result of a number raised to a specified power

Randomize Procedure

Initializes the random-number generator

Rnd Function

Returns a random number

Round Function

Rounds a number to a specified number of decimal places

Sign Function

Determines the sign of a number

Sin Function

Returns the sine of an angle

Sinh Function

Returns the hyperbolic sine of an angle

Sqrt Function

Calculates the square root of a number

Tan Function

Returns the ratio of two sides of a right triangle

Tanh Function

Returns the hyperbolic tangent of an angle





Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net