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 converts Comp to Double when it needs to, so you don’t need to call this function in a Delphi program.

  • Converting Comp to Double can lose precision.

See Also

Comp Type, CompToCurrency Function, Double Type, DoubleToComp Procedure
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset