We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2650dc commit fb099e4Copy full SHA for fb099e4
UnitsNet/InternalHelpers/Guard.cs
UnitsNet/QuantityValue.cs
@@ -21,8 +21,6 @@
21
22
// Operator overloads not supported in Windows Runtime Components, we use 'double' type instead
23
24
-using UnitsNet.InternalHelpers;
25
-
26
#if !WINDOWS_UWP
27
namespace UnitsNet
28
{
@@ -57,7 +55,7 @@ public struct QuantityValue
57
55
58
56
private QuantityValue(double val)
59
60
- _value = Guard.EnsureNotNaN(val, nameof(val));
+ _value = val;
61
_valueDecimal = null;
62
}
63
0 commit comments