Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions UnitsNet/CustomCode/Value/QuantityValue.Number.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ public static bool IsNaN(QuantityValue value)
return value.Denominator.IsZero && value.Numerator.IsZero;
}

/// <summary>Determines if a value represents a negative real number.</summary>
/// <summary>Determines if a value represents a negative number.</summary>
/// <param name="value">The value to be checked.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> represents negative zero or a negative real number; otherwise,
/// <see langword="true" /> if <paramref name="value" /> represents a negative number; otherwise,
/// <see langword="false" />.
/// </returns>
public static bool IsNegative(QuantityValue value)
Expand Down Expand Up @@ -336,10 +336,10 @@ public static bool IsOddInteger(QuantityValue value)
return remainder.IsZero && !quotient.IsEven;
}

/// <summary>Determines if a value represents zero or a positive real number.</summary>
/// <summary>Determines if a value represents a positive number.</summary>
/// <param name="value">The value to be checked.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> represents (positive) zero or a positive real number;
/// <see langword="true" /> if <paramref name="value" /> represents a positive number;
/// otherwise, <see langword="false" />.
/// </returns>
public static bool IsPositive(QuantityValue value)
Expand Down
Loading