Constant of the <DataType> Type is Outside the Tolerance Range

Description

When a constant is declared, the specified value falls outside the tolerance range for the type of data that was automatically specified for this constant.

Troubleshooting Tips

Change values of the constant.

Example

Sub UserProc;
Const
    s = 1.8e+308;
Begin
    
End Sub UserProc;

When the specified code is compiled, the following error is displayed: Constant of the Double type is outside the tolerance range. To resolve the error, decrease the value of the constant because the upper limit of values for the Double type is equal to 1.797693e+308.

See also:

Compiler Messages