CompToCurrency Function
You can call CompToCurrency
in a C++ Builder
program. Delphi automatically converts Comp
to
Currency
when it needs to, so you don’t need
to call this function in a Delphi program.
Comp
can represent numbers outside the range of
Currency
, so converting Comp
to
Currency
can result in runtime error 6
(EInvalidOp
).