Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

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

Syntax

CTCurrency& operator=(LONG value)

CTCurrency& operator=(CTFLOAT value)

CTCurrency& operator=(CTCURRENCY value)

CTCurrency& operator=(const CTMoney& value)

CTCurrency& operator=(const CTString& value)

CTCurrency& operator=(const CTBigint& value)

CTCurrency& operator=(const CTCurrency& value)

CTCurrency& operator+=(const CTCurrency& value)

CTCurrency& operator-=(const CTCurrency& value)

CTCurrency& operator*=(const CTCurrency& value)

CTCurrency& operator/=(const CTCurrency& value)

CTCurrency& operator abs(const CTCurrency& value)

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

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

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

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

Parameters

  • value [in] LONG, double, CTCurrency, CTMoney, CTString, CTBigint or CTCurrency value or object to be assigned to or updated with the new CTCurrency object.
  • left [in] The left CTCurrency object to be concatenated to form the new CTCurrency object
  • right [in] The right CTCurrency object to be concatenated to form the new CTCurrency object

Description

Assigns or concatenates values to form a CTCurrency object

Return

The new CTCurrency object

TOCIndex