Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTMoney::operator =, +=, -=, *=, /=, abs, +, -, *, /

Syntax

CTMoney& operator=(CTFLOAT value)

CTMoney& operator=(CTMONEY value)

CTMoney& operator=( const CTString& str)

CTMoney& operator=(const CTMoney& money)

CTMoney& operator +=(const CTMoney& money)

CTMoney& operator -=(const CTMoney& money)

CTMoney& operator *=(const CTMoney& money)

CTMoney& operator /=(const CTMoney& money)

CTMoney& operator abs(const CTMoney& money)

CTMoney& operator +(const CTMoney& left, const CTMoney& right)

CTMoney& operator -(const CTMoney& left, const CTMoney& right)

CTMoney& operator *(const CTMoney& left, const CTMoney& right)

CTMoney& operator /(const CTMoney& left, const CTMoney& right)

Parameters

  • value [in] The double value to be converted and assigned to the new CTMoney object
  • str [in] The CTString object to be assigned to the new CTMoney object
  • money [in] The CTMoney object to be assigned to the new CTMoney object
  • left [in] The left CTMoney object to be concatenated to form the new CTMoney object
  • right [in] The right CTMoney object to be concatenated to form the new CTMoney object

Description

Assigns or concatenates values to form a CTMoney object

Return

The new CTMoney object

TOCIndex