AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.5" />

 Number

Represents a float value.
public enum Unit

An enumeration of angle representations.

public static readonly Number Infinite

Gets the positive infinite value.

public static readonly Number One

Gets the neutral element.

public static readonly Number Zero

Gets a zero value.

public bool IsInteger { get; }

Gets if the stored value is an integer number.

public float Value { get; }

Gets the value.

public Number(float value, Unit unit)

Creates a new number value.

public static bool op_Equality(Number a, Number b)

Checks for equality of two numbers.

public static bool op_GreaterThan(Number a, Number b)

Compares the magnitude of two numbers.

public static bool op_GreaterThanOrEqual(Number a, Number b)

Compares the magnitude of two numbers.

public static bool op_Inequality(Number a, Number b)

Checks for inequality of two numbers.

public static bool op_LessThan(Number a, Number b)

Compares the magnitude of two numbers.

public static bool op_LessThanOrEqual(Number a, Number b)

Compares the magnitude of two numbers.

public int CompareTo(Number other)

Compares the current number against the given one.

public bool Equals(Number other)

Checks for equality with a given number.

public string ToString(string format, IFormatProvider formatProvider)

Returns a formatted string representing the number.