Struct ExchangeRate
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
An exchange rate between two quantities. This is never 0, and the exchange rate should also never be infinite.
public readonly record struct ExchangeRate : IEquatable<ExchangeRate>
- Implements
- Inherited Members
Constructors
ExchangeRate(ulong, ulong)
An exchange rate between two quantities. This is never 0, and the exchange rate should also never be infinite.
public ExchangeRate(ulong Numerator, ulong Denominator)
Parameters
Properties
Denominator
public ulong Denominator { get; init; }
Property Value
Numerator
public ulong Numerator { get; init; }