money v0.1.0 (2016-04-30T08:17:41Z)
Dub
Repo
money.opCmp
money
money
Can compare with money amounts of the same concurrency.
struct
money
(string currency, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
const
int
opCmp
(
OT
)
(
const
OT
other
)
if
(
isMoney
!
OT
&&
other.__currency
==
currency
)
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 compare with money amounts of the same concurrency.