Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

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

Syntax

CTNumber operator=(int value)

CTNumber operator=(double value)

CTNumber operator=(ctdbNUMBER value)

CTNumber operator=(CTMoney value)

CTNumber operator=(String value)

CTNumber operator=(CTBigint value)

CTNumber operator=(CTCurrency value)

CTNumber operator=(CTNumber value)

CTNumber operator+(CTNumber left, CTNumber right)

CTNumber operator-(CTNumber left, CTNumber right)

CTNumber operator*(CTNumber left, CTNumber right)

CTNumber operator/(CTNumber left, CTNumber right)

CTNumber abs(CTNumber value)

CTNumber operator+(CTNumber left, CTNumber right)

CTNumber operator-(CTNumber left, CTNumber right)

CTNumber operator*(CTNumber left, CTNumber right)

CTNumber operator/(CTNumber left, CTNumber right)

Parameters

  • value [in] long, double, CTNumber, CTMoney, CTBigint, CTCurrency, or String 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