DecimalMath.Max Method

Returns the larger of two decimal numbers.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static decimal Max(
	decimal value1,
	decimal value2
)

Parameters

value1  Decimal
The first of two decimal numbers to compare.
value2  Decimal
The second of two decimal numbers to compare.

Return Value

Decimal
Parameter value1 or value2, whichever is larger.

See Also