Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTNumber::operator =, +, -, (, /, abs

Syntax

CTNumber& operator=(LONG value)

CTNumber& operator=(CTFLOAT value)

CTNumber& operator=(pCTNUMBER value)

CTNumber& operator=(const CTMoney& value)

CTNumber& operator=(const CTString& value)

CTNumber& operator=(const CTBigint& value)

CTNumber& operator=(const CTCurrency& value)

CTNumber& operator=(const CTNumber& value)

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

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

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

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

CTNumber abs(const CTNumber& value)

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

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

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

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

Parameters

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

Description

Assigns or concatenates values to form a CTNumber object

Return

The new CTNumber object

TOCIndex