|
EnergyCompareTo(Double) Method
|
Compares this instance to a specified Double and returns an indication of their
relative values.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.264-beta+d1c3a754a4d50e5c740e530e6875e878ac32de9a
Syntaxpublic int CompareTo(
double value
)
Public Function CompareTo (
value As Double
) As Integer
public:
virtual int CompareTo(
double value
) sealed
abstract CompareTo :
value : float -> int
override CompareTo :
value : float -> int function CompareTo(value);
View SourceParameters
- value Double
- A Double to compare.
Return Value
Int32
A signed number indicating the relative values of this instance and value. Returns less than zero
if this instance is less than value, zero if this instance is equal to value, or greater than zero
if this instance is greater than value.
Implements
IComparableTCompareTo(T)
See Also