Show / Hide Table of Contents

Enum NumberRounding

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

Namespace: Xrpl.BinaryCodec.Numbers
Assembly: Xrpl.BinaryCodec.dll
Syntax
public enum NumberRounding

Fields

Name Description
Downward

Toward negative infinity.

ToNearest

To the nearest value; a tie goes to the even mantissa. rippled's default.

TowardsZero

Toward zero: the magnitude never grows.

Upward

Toward positive infinity.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX