DoubleToComp Procedure
You can call DoubleToComp
in a C++ Builder
program. Delphi automatically converts Double
to Comp
when it needs to, so you
don’t need to call this function in a Delphi program.
Double
supports a wider range of values than
Comp
. Converting Double
to
Comp
can result in runtime error 6
(EInvalidOp
).