Table of Contents

Class AmountFraction

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

A fraction of an amount with a precision of 1/100_000.

public sealed class AmountFraction
Inheritance
AmountFraction
Inherited Members

Methods

AsDecimal()

Get amount as decimal.

public decimal AsDecimal()

Returns

decimal

From(decimal)

Constructs amount fraction from decimal.

public static AmountFraction From(decimal number)

Parameters

number decimal

Returns

AmountFraction