Name
CompToDouble Function
Syntax
function CompToDouble(Value: Comp): Double; cdecl;
Description
CompToDouble
converts a Comp
value to Double
. It is a real function.
Tips and Tricks
You can call
CompToDouble
in a C++ Builder program. Delphi automatically convertsComp
toDouble
when it needs to, so you don’t need to call this function in a Delphi program.Converting
Comp
toDouble
can lose precision.
See Also
Comp Type, CompToCurrency Function, Double Type, DoubleToComp Procedure |
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.