currency.opEquals

Can check equality with money amounts of the same concurrency and decimal places.

struct currency(string currency_name, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
const
bool
opEquals
(
OT
)
(
auto ref const OT other
)
if (
isCurrency!OT &&
other.__currency == currency_name
&&
other.__dec_places == dec_places
)

Meta