Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTCurrency Methods

Constructor / Destructor

  • CTCurrency(): Creates a CTCurrency object
  • ~CTCurrency(): Destroys a CTCurrency Object and resets all the dependent objects

Currency Handling

  • IsZero(): Indicates if a currency value is zero
  • Zero(): Sets a currency value to zero
  • SetCurrency(): Initializes the CTCurrency object.
  • AsFloat(): Converts a CTCurrency object to float
  • AsLong(): Converts a CTCurrency object to long
  • AsBigint(): Converts a CTCurrency object to big integer
  • AsCurrency(): Retrieves the C currency type
  • AsMoney(): Converts a CTCurrency object to a CTMoney object
  • AsString(): Converts a CTCurrency object to a CTString object
  • StringToCurrency(): Converts a CTString object to a CTCurrency object

In This Section

CTCurrency::CTCurrency

CTCurrency::~CTCurrency

CTCurrency::AsBigint

CTCurrency::AsCurrency

CTCurrency::AsFloat

CTCurrency::AsLong

CTCurrency::AsMoney

CTCurrency::AsString

CTCurrency::IsZero

CTCurrency::Round

CTCurrency::SetCurrency

CTCurrency::StringToCurrency

CTCurrency::Zero

TOCIndex