VB.NET Language in a Nutshell

   

B.18 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's 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

A string indicating the range into which a number falls

Pi Field

Returns the approximate value of pi

Pow function

Returns the result of a number raised to a specified power

Randomize function

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

   

Категории