AngleSharp by Florian Rappl

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

 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)

Compares two numbers for equality.

public static float op_Explicit(Number number)

Converts the number to a floating point value.

public static int op_Explicit(Number number)

Converts the number to an integer value.

public static bool op_GreaterThan(Number a, Number b)

Compares two numbers if the first one is greater than the second one.

public static bool op_GreaterThanOrEqual(Number a, Number b)

Compares two numbers if the first one is greater or equal to the second one.

public static bool op_Inequality(Number a, Number b)

Compares two numbers for inequality.

public static bool op_LessThan(Number a, Number b)

Compares two numbers if the first one is smaller than the second one.

public static bool op_LessThanOrEqual(Number a, Number b)

Compares two numbers if the second one is greater or equal to the second one.

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.