DoubleExtensions.UnsetNaN
Extension Method in DoubleExtensions
Declaration
public static void UnsetNaN(this ref double value, double newValue = 0)
Description
Sets the value to a new value if the value is NaN
.
Parameters
value | The value to check. |
newValue | The value to set if the original value is NaN . |