Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

QuantityValue<T> Operators

Contains the unit of measurement and its value.
Name Description
Addition(QuantityValue<T>, QuantityValue<T>) static Adds two QuantityValue<T> objects and returns the result as the QuantityValue<T> object.
Addition(QuantityValue<T>, Double) static Adds a Double value to the QuantityValue<T> object and returns the result as the QuantityValue<T> object.
Decrement(QuantityValue<T>) static Decrements a QuantityValue<T> object by one and returns the result as the QuantityValue<T> object.
Division(QuantityValue<T>, Double) static Divides two QuantityValue<T> objects.
Implicit(QuantityValue<T> to Double) static Defines an implicit conversion of a QuantityValue<T> object to a Double.
Increment(QuantityValue<T>) static Increments the QuantityValue<T> value by 1.
Multiply(QuantityValue<T>, Double) static Multiplies the QuantityValue<T> values by the Double value.
Subtraction(QuantityValue<T>, QuantityValue<T>) static Subtracts the QuantityValue<T> value from another QuantityValue<T> value.
Subtraction(QuantityValue<T>, Double) static Subtracts the Double value from the QuantityValue<T> value.
See Also