March 2000
Intermediate to advanced
576 pages
18h 13m
English
CompToCurrency Function
function CompToCurrency(Value: Comp): Currency; cdecl;
CompToCurrency
converts a Comp
value to Currency. It is a real 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).
| Comp Type, CompToDouble Function, Currency Type, CurrencyToComp Procedure |
Read now
Unlock full access