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=( String str)

CTMoney operator=( CTMoney money)

CTMoney operator +=( CTMoney money)

CTMoney operator -=( CTMoney money)

CTMoney operator *=( CTMoney money)

CTMoney operator /=( CTMoney money)

CTMoney operator abs( CTMoney money)

CTMoney operator +( CTMoney left, CTMoney right)

CTMoney operator -( CTMoney left, CTMoney right)

CTMoney operator *( CTMoney left, CTMoney right)

CTMoney operator /( CTMoney left, CTMoney right)

Parameters

  • value [in] The double value to be converted and assigned to the new CTMoney object
  • str [in] The String 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