Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

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

Syntax

CTCurrency operator=(int value)

CTCurrency operator=(double value)

CTCurrency operator=(CTCURRENCY value)

CTCurrency operator=(CTMoney value)

CTCurrency operator=(String value)

CTCurrency operator=(CTBigint value)

CTCurrency operator=(CTCurrency value)

CTCurrency operator+=(CTCurrency value)

CTCurrency operator-=(CTCurrency value)

CTCurrency operator*=(CTCurrency value)

CTCurrency operator/=(CTCurrency value)

CTCurrency operator abs(CTCurrency& value)

CTCurrency operator +(CTCurrency left, CTCurrency right)

CTCurrency operator -(CTCurrency left, CTCurrency right)

CTCurrency operator *(CTCurrency left, CTCurrency right)

CTCurrency operator /(CTCurrency left, CTCurrency right)

Parameters

  • value [in] int, double, CTCurrency, CTMoney, String, 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