Show / Hide Table of Contents

Namespace Xrpl.BinaryCodec.Numbers

Classes

NumberContext

The rules an XrplNumber operation follows: the mantissa scale and the rounding mode. rippled keeps both in thread-local state switched by guards; here they are an explicit argument, so a result never depends on what another piece of code set before.

XrplNumberJsonConverter

Reads an XrplNumber from a JSON string or number and writes it as the string rippled writes for the field. Applied to XrplNumber itself, so no registration is needed.

Structs

XrplNumber

A value of the XRPL Number type, used by the Single Asset Vault (XLS-65) and Lending Protocol (XLS-66) fields such as AssetsTotal, PrincipalOutstanding or PeriodicPayment.

Enums

NumberMantissaScale

The mantissa range rippled's Number works in, which the enabled amendments select (setCurrentTransactionRules in Rules.cpp).

NumberRounding

How a XrplNumber operation rounds a result it cannot hold exactly, as rippled's Number::RoundingMode.

In this article
Back to top Generated by DocFX