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

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.