Decimal.MaxValue

Syntax

MaxValue: Decimal;

Description

The MaxValue property returns the maximum value of the Decimal type.

Example

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:

Decimal