money v2.3.1 (2019-04-25T19:41:59Z)
Dub
Repo
currency.opCmp
money
currency
Can compare with money amounts of the same concurrency.
struct
currency
(string currency_name, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
const
int
opCmp
(
OT
)
(
const
OT
other
)
if
(
isCurrency
!
OT
&&
other.__currency
==
currency_name
)
Meta
Source
See Implementation
money
currency
aliases
T
constructors
this
functions
opBinary
opCmp
opEquals
opOpAssign
toDecimalString
toString
manifest constants
__currency
__dec_places
__rmode
static variables
init
max
min
variables
amount
Can compare with money amounts of the same concurrency.