MaxValue: Decimal;
The MaxValue property returns the maximum value of the Decimal type.
Sub Main;
Var
d: Decimal;
Begin
d := Decimal.MaxValue;
End Sub Main;
After executing the example the "d" variable will contain the maximum value of the Decimal type, that is, 7.922816E+28.
See also: