money.opBinary

Can add and subtract money amounts of the same type.

  1. T opBinary(T rhs)
    struct money(string currency, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
    const
    opBinary
    (
    string op
    )
    (
    const T rhs
    )
  2. T opBinary(long rhs)
  3. T opBinary(real rhs)

Meta