toggle menu
Money
0.1.0
jvm
switch theme
Money
com.
eriksencosta.
money
Circulating
Currency
Type
TENDER
OTHER
HISTORICAL
Crypto
Currency
Type
NATIVE
AUXILIARY
PROVISIONAL
HISTORICAL
Currency
Factory
Currency
Type
Custom
Currency
Custom
Currency
Config
Type
CUSTOM
decrease()
decrease
By()
exchange()
increase()
increase
By()
Money
Factory
money()
smallest
Unit()
Standardized
Currency
sum()
times()
to
Detailed
String()
zero()
com.
eriksencosta.
money.
allocation
adjust
For
Allocate()
allocate()
Allocation
Allocation
By
Allocator
Even
Allocation
Even
Allocator
Factory
Even
Parts
Proportional
Allocation
Proportional
Allocator
Factory
Ratios
Result
Details
com.
eriksencosta.
money.
allocation.
difference
Difference
Allocation
Discard
Distributable
Allocation
Distribute
Factory
Distribute
By
Sign
Factory
Index
Based
Allocation
Negative
On
First
Negative
On
Greatest
On
First
On
First
Greatest
On
First
Non
Zero
On
First
Smallest
On
First
Value
Allocation
On
Greatest
Value
Allocation
On
Last
On
Last
Greatest
On
Last
Non
Zero
On
Last
Smallest
On
Last
Value
Allocation
On
Smallest
Value
Allocation
Positive
On
First
Positive
On
Greatest
Sign
Based
Allocation
Value
Based
Allocation
com.
eriksencosta.
money.
caching
Cache
Config
configure
Cache()
disable
Cache()
Money
/
com.eriksencosta.money.allocation.difference
/
Discard
Discard
object
Discard
:
DifferenceAllocation
(
source
)
Discards the
Money
difference.
Members
Functions
allocate
Link copied to clipboard
open
override
fun
allocate
(
difference
:
Money
,
allocations
:
List
<
Money
>
)
:
List
<
Money
>
Do not allocate the
difference
in the
allocations
list.