|
Energy Operators and Type Conversions
|
The Energy type exposes the following members.
Operators
|
Name |
Description |
|
Addition(Energy, Energy)
|
Returns computed sum of values.
|
|
Division(Energy, Energy)
|
Returns computed division of values.
|
|
Equality(Energy, Energy)
|
Compares the two values for equality.
|
|
Exponent(Energy, Energy)
|
Returns result of first value raised to power of second value.
|
|
GreaterThan(Energy, Energy)
|
Returns true if left value is greater than right value.
|
|
GreaterThanOrEqual(Energy, Energy)
|
Returns true if left value is greater than or equal to right value.
|
|
(Double to Energy)
|
Implicitly converts value, represented in joules, to an Energy.
|
|
(Energy to Double)
|
Implicitly converts Energy, represented in joules, to a Double.
|
|
Inequality(Energy, Energy)
|
Compares the two values for inequality.
|
|
LessThan(Energy, Energy)
|
Returns true if left value is less than right value.
|
|
LessThanOrEqual(Energy, Energy)
|
Returns true if left value is less or equal to than right value.
|
|
Modulus(Energy, Energy)
|
Returns computed remainder after dividing first value by the second.
|
|
Multiply(Energy, Energy)
|
Returns computed product of values.
|
|
Subtraction(Energy, Energy)
|
Returns computed difference of values.
|
Top
See Also