Codeunit 5505371 M365 Math Library

Codeunit 5505371 M365 Math Library

Methods

Pi

procedure Pi(): Decimal

Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.

Parameters / Return Value

  • Returns Decimal

    Decimal


E

procedure E(): Decimal

Represents the natural logarithmic base, specified by the constant, e.

Parameters / Return Value

  • Returns Decimal

    Decimal


Abs

procedure Abs(d: Decimal): Decimal

Returns the absolute value of a Decimal number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Acos

procedure Acos(d: Decimal): Decimal

Returns the angle whose cosine is the specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Asin

procedure Asin(d: Decimal): Decimal

Returns the angle whose sine is the specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Atan

procedure Atan(d: Decimal): Decimal

Returns the angle whose tangent is the specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Atan

procedure Atan(y: Decimal; x: Decimal): Decimal

Returns the angle whose tangent is the quotient of two specified numbers.

Parameters / Return Value

  • y Decimal

    Decimal

  • x Decimal

    Decimal

  • Returns Decimal

    Decimal


BigMul

procedure BigMul(a: Integer; b: Integer): BigInteger

Produces the full product of two 32-bit numbers.

Parameters / Return Value

  • a Integer

    Integer

  • b Integer

    Integer

  • Returns BigInteger

    BigInteger


Ceiling

procedure Ceiling(d: Decimal): Decimal

Returns the smallest integral value that is greater than or equal to the specified Decimal number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Cos

procedure Cos(d: Decimal): Decimal

Returns the cosine of the specified angle.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Cosh

procedure Cosh(d: Decimal): Decimal

Returns the hyperbolic cosine of the specified angle.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Exp

procedure Exp(d: Decimal): Decimal

Returns e raised to the specified power.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Floor

procedure Floor(d: Decimal): Decimal

Returns the largest integer less than or equal to the specified Decimal number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


IEEERemainder

procedure IEEERemainder(x: Decimal; y: Decimal): Decimal

Returns the remainder resulting from the division of a specified number by another specified number.

Parameters / Return Value

  • x Decimal

    Decimal

  • y Decimal

    Decimal

  • Returns Decimal

    Decimal


Log

procedure Log(a: Decimal; newBase: Decimal): Decimal

Returns the logarithm of a specified number in a specified base.

Parameters / Return Value

  • a Decimal

    Decimal

  • newBase Decimal

    Decimal

  • Returns Decimal

    Decimal


Log

procedure Log(d: Decimal): Decimal

Returns the natural (base e) logarithm of a specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Log10

procedure Log10(d: Decimal): Decimal

Returns the base 10 logarithm of a specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Min

procedure Min(a: Decimal; b: Decimal): Decimal

Returns the smaller of two Decimal numbers.

Parameters / Return Value

  • a Decimal

    Decimal

  • b Decimal

    Decimal

  • Returns Decimal

    Decimal


Max

procedure Max(a: Decimal; b: Decimal): Decimal

Returns the larger of two Decimal numbers.

Parameters / Return Value

  • a Decimal

    Decimal

  • b Decimal

    Decimal

  • Returns Decimal

    Decimal


Pow

procedure Pow(x: Decimal; y: Decimal): Decimal

Returns a specified number raised to the specified power.

Parameters / Return Value

  • x Decimal

    Decimal

  • y Decimal

    Decimal

  • Returns Decimal

    Decimal


Sign

procedure Sign(d: Decimal): Integer

Returns an integer that indicates the sign of a Decimal number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Integer

    Integer


Sinh

procedure Sinh(d: Decimal): Decimal

Returns the hyperbolic sine of the specified angle.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Sin

procedure Sin(d: Decimal): Decimal

Returns the sine of the specified angle.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Sqrt

procedure Sqrt(d: Decimal): Decimal

Returns the square root of a specified number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Tan

procedure Tan(a: Decimal): Decimal

Returns the tangent of the specified angle.

Parameters / Return Value

  • a Decimal

    Decimal

  • Returns Decimal

    Decimal


Tanh

procedure Tanh(d: Decimal): Decimal

Returns the hyperbolic tangent of the specified angle.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal


Truncate

procedure Truncate(d: Decimal): Decimal

Calculates the integral part of a specified Decimal number.

Parameters / Return Value

  • d Decimal

    Decimal

  • Returns Decimal

    Decimal



EOS Labs -