Table of Contents

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

Numerator ulong
Denominator ulong

Properties

Denominator

public ulong Denominator { get; init; }

Property Value

ulong

Numerator

public ulong Numerator { get; init; }

Property Value

ulong