Decimal Functions and Operators

    Operation

    Result type precision

    Result type scale

    x + y

    and

    x - y

    max(xs, ys)

    min(38, xp + yp)

    x / y

    max(xs, ys)

    x % y

    max(xs, ys)