Decimal.opBinary

The result has the hook of the left hand side. Invalid operations call onInvalidOperation on the hook on the result and set the result's flag to true. Does not effect the left hand side of the operation.

When the right hand side is a built-in numeric type, the default hook Abort is used for its decimal representation.

struct Decimal(Hook = Abort)
const
opBinary
(
string op
T
)
(
T rhs
)
if (
op == "+" ||
op == "-"
)

Meta