Decimal.opBinary

Implements binary operators between Decimals. Returns an object with the maximum precision of both original objects.

  1. Decimal opBinary(Decimal rhs)
    struct Decimal
    const
    opBinary
    (
    string op
    )
    if (
    op.among("+", "-", "*", "/", "^^")
    )
  2. Decimal opBinary(T rhs)

Meta