money ~master (2021-10-20T05:29:34Z)
Dub
Repo
currency.opCmp
money
currency
Can compare with money amounts of the same concurrency.
int
opCmp
(OT other)
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
)
int
opCmp
(T other)
Meta
Source
See Implementation
money
currency
aliases
T
constructors
this
functions
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toDecimalString
toString
manifest constants
__currency
__dec_places
__factor
__rmode
static variables
init
max
min
variables
amount
Can compare with money amounts of the same concurrency.