Struct Ratio
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
A ratio between two ulong
integers.
It should be safe to assume the denominator is not zero and that numerator and denominator are coprime.
public readonly record struct Ratio : IEquatable<Ratio>
- Implements
- Inherited Members
Constructors
Ratio(ulong, ulong)
A ratio between two ulong
integers.
It should be safe to assume the denominator is not zero and that numerator and denominator are coprime.
public Ratio(ulong Numerator, ulong Denominator)
Parameters
Properties
Denominator
public ulong Denominator { get; init; }
Property Value
Numerator
public ulong Numerator { get; init; }