Class DoubleExtensions
Inheritance
System.Object
DoubleExtensions
Namespace: Eco.Shared.Math
Assembly: Eco.Shared.dll
Syntax
public static class DoubleExtensions : Object
Methods
TryConvertToLong(Double, out Int64)
Tries to convert value
to System.Int64. It will fail if the value out of long value range, NaN or infinity.
Declaration
public static bool TryConvertToLong(this double value, out long longValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | |
System.Int64 | longValue |
Returns
Type | Description |
---|---|
System.Boolean |