Delphi coerces the variant value into a compatible type if necessary, and raises an exception if it cannot create a compatible value. Currency Type Delphi 2.0 defines a new type called Currency, which is a floating-point type specifically designed to handle large values with great precision. That is, the floating-point value is stored in the integer format with the four least significant digits implicitly representing four decimal places. To explicitly declare 16-bit integer data types, use the SmallInt and Word types. You can include an optional finalization section in a unit.
Finalization is the counterpart of initialization, and takes place when the application shuts down.
The finalization section corresponds to calls to ExitProc and AddExitProc in Delphi 1.0. The finalization begins with the reserved word finalization. The finalization section must appear after the initialization section, but before the final end. Once execution enters an initialization section of a unit, the corresponding finalization section is guaranteed to execute when the application shuts down. Finalization sections must handle partially-initialized data properly, just as class destructors must.