@neutrium/decimal API - v2.2.0
    Preparing search index...

    Type Alias RoundingMode

    RoundingMode:
        | "up"
        | "down"
        | "ceil"
        | "floor"
        | "half-up"
        | "half-down"
        | "half-even"
        | "half-ceil"
        | "half-floor"

    Human-readable rounding rules accepted by Decimal operations.

    The half-* modes apply only when the discarded digits are exactly halfway between two candidates; otherwise the nearest candidate is used.

    Mode Description
    'up' Rounds away from zero
    'down' Rounds towards zero
    'ceil' Rounds towards positive Infinity
    'floor' Rounds towards negative Infinity
    `'half-up' Rounds towards nearest neighbor. If equidistant, rounds away from zero
    'half-down' Rounds towards nearest neighbor. If equidistant, rounds towards zero
    'half-even' Rounds towards nearest neighbor. If equidistant, rounds towards even neighbor
    'half-ceil' Rounds towards nearest neighbor. If equidistant, rounds towards positive Infinity
    'half-floor' Rounds towards nearest neighbor. If equidistant, rounds towards negative Infinity