Quantity Operators |
The Quantity type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Returns the sum of quantity a and b, which must have the same measurement unit
|
![]() ![]() | Division |
Implements the operator /.
|
![]() ![]() | Equality |
Implements the operator ==.
|
![]() ![]() | GreaterThan |
Compares first and second.
|
![]() ![]() | GreaterThanOrEqual |
Implements the operator >=.
|
![]() ![]() | Inequality |
Implements the operator !=.
|
![]() ![]() | LessThan |
Implements the operator <.
|
![]() ![]() | LessThanOrEqual |
Implements the operator <=.
|
![]() ![]() | Multiply(Decimal, Quantity) |
Implements the operator *.
|
![]() ![]() | Multiply(Quantity, Decimal) |
Implements the operator *.
|
![]() ![]() | Subtraction |
Subtracts the second quantity from the first. The quantities must have the same Unit.
|