Name
CurrencyToComp Procedure
Syntax
procedure CurrencyToComp(Value: Currency; var result: Comp); cdecl;
Description
CurrencyToComp
converts a Currency
value to Comp
. It is a real function.
Tips and Tricks
You can call
CurrencyToComp
in a C++ Builder program. Delphi automatically convertsCurrency
toComp
when it needs to, so you don’t need to call this function in a Delphi program.Converting
Currency
toComp
can lose precision.
See Also
Comp Type, CompToCurrency Function, Currency Type |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.