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
DecimalDecimal
E
procedure E(): Decimal
Represents the natural logarithmic base, specified by the constant, e.
Parameters / Return Value
Returns
DecimalDecimal
Abs
procedure Abs(d: Decimal): Decimal
Returns the absolute value of a Decimal number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Acos
procedure Acos(d: Decimal): Decimal
Returns the angle whose cosine is the specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Asin
procedure Asin(d: Decimal): Decimal
Returns the angle whose sine is the specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Atan
procedure Atan(d: Decimal): Decimal
Returns the angle whose tangent is the specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Atan
procedure Atan(y: Decimal; x: Decimal): Decimal
Returns the angle whose tangent is the quotient of two specified numbers.
Parameters / Return Value
y
DecimalDecimal
x
DecimalDecimal
Returns
DecimalDecimal
BigMul
procedure BigMul(a: Integer; b: Integer): BigInteger
Produces the full product of two 32-bit numbers.
Parameters / Return Value
a
IntegerInteger
b
IntegerInteger
Returns
BigIntegerBigInteger
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
DecimalDecimal
Returns
DecimalDecimal
Cos
procedure Cos(d: Decimal): Decimal
Returns the cosine of the specified angle.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Cosh
procedure Cosh(d: Decimal): Decimal
Returns the hyperbolic cosine of the specified angle.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Exp
procedure Exp(d: Decimal): Decimal
Returns e raised to the specified power.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Floor
procedure Floor(d: Decimal): Decimal
Returns the largest integer less than or equal to the specified Decimal number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
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
DecimalDecimal
y
DecimalDecimal
Returns
DecimalDecimal
Log
procedure Log(a: Decimal; newBase: Decimal): Decimal
Returns the logarithm of a specified number in a specified base.
Parameters / Return Value
a
DecimalDecimal
newBase
DecimalDecimal
Returns
DecimalDecimal
Log
procedure Log(d: Decimal): Decimal
Returns the natural (base e) logarithm of a specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Log10
procedure Log10(d: Decimal): Decimal
Returns the base 10 logarithm of a specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Min
procedure Min(a: Decimal; b: Decimal): Decimal
Returns the smaller of two Decimal numbers.
Parameters / Return Value
a
DecimalDecimal
b
DecimalDecimal
Returns
DecimalDecimal
Max
procedure Max(a: Decimal; b: Decimal): Decimal
Returns the larger of two Decimal numbers.
Parameters / Return Value
a
DecimalDecimal
b
DecimalDecimal
Returns
DecimalDecimal
Pow
procedure Pow(x: Decimal; y: Decimal): Decimal
Returns a specified number raised to the specified power.
Parameters / Return Value
x
DecimalDecimal
y
DecimalDecimal
Returns
DecimalDecimal
Sign
procedure Sign(d: Decimal): Integer
Returns an integer that indicates the sign of a Decimal number.
Parameters / Return Value
d
DecimalDecimal
Returns
IntegerInteger
Sinh
procedure Sinh(d: Decimal): Decimal
Returns the hyperbolic sine of the specified angle.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Sin
procedure Sin(d: Decimal): Decimal
Returns the sine of the specified angle.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Sqrt
procedure Sqrt(d: Decimal): Decimal
Returns the square root of a specified number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Tan
procedure Tan(a: Decimal): Decimal
Returns the tangent of the specified angle.
Parameters / Return Value
a
DecimalDecimal
Returns
DecimalDecimal
Tanh
procedure Tanh(d: Decimal): Decimal
Returns the hyperbolic tangent of the specified angle.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Truncate
procedure Truncate(d: Decimal): Decimal
Calculates the integral part of a specified Decimal number.
Parameters / Return Value
d
DecimalDecimal
Returns
DecimalDecimal
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.