System.Currency.operator ()

From RAD Studio API Documentation
Jump to: navigation, search


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


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


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.