money v0.1.0 (2016-04-30T08:17:41Z)
Dub
Repo
money.opEquals
money
money
Can check equality with money amounts of the same concurrency and decimal places.
struct
money
(string currency, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
const
bool
opEquals
(
OT
)
(
auto
ref
const
OT
other
)
if
(
isMoney
!
OT
&&
other.__currency
==
currency
&&
other.__dec_places
==
dec_places
)
Meta
Source
See Implementation
money
money
aliases
T
constructors
this
functions
opBinary
opCmp
opEquals
toString
manifest constants
__currency
__dec_places
__rmode
static variables
init
max
min
variables
amount
Can check equality with money amounts of the same concurrency and decimal places.