Click or drag to resize

Amount Operators

The Amount type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Returns the sum of the specified amounts. The amounts must have the same currency.
Public operatorStatic memberDivision(Amount, Amount)
Implements the operator /.
Public operatorStatic memberDivision(Amount, Decimal)
Implements the operator /.
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Compares first and second.
Public operatorStatic memberGreaterThanOrEqual
Implements the operator >=.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Public operatorStatic memberLessThanOrEqual
Implements the operator <=.
Public operatorStatic memberMultiply(Decimal, Amount)
Implements the operator *.
Public operatorStatic memberMultiply(Amount, Decimal)
Implements the operator *.
Public operatorStatic memberSubtraction
Subtracts the second amount from the first. The amounts must have the same currency.
Top
See Also