Delphi Error – E2098 Division by zero

Delphi Compiler Error

E2098 Division by zero

Reason for the Error & Solution

The compiler has detected a constant division by zero in your program.

Check your constant expressions and respecify them so that a division by zero error will not occur.