Decimal.opBinary

Implements binary operators between Decimal and build-in type values.

The precision of the decimal result is equal to the precision of the decimal argument.

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

Meta