System.Currency.operator ()

From RAD Studio API Documentation
Jump to: navigation, search

C++

__fastcall operator double() const {return ((double)Val) / 10000;}
__fastcall operator int() const    {return (int) (Val / 10000);}
__fastcall operator System::String() const;

Properties

Type Visibility Source Unit Parent
function public syscurr.h System Currency

Description

Converts the Currency object.

int converts a Currency object to an int.

double converts a Currency object to a double.

String converts the currency value into its string representation. The conversion uses the ffGeneral floating point conversion rules. For further details, see the description of the CurrToStrF and FloatToStrF methods of the AnsiString class.