Money Methods |
The Money type exposes the following members.
Name | Description | |
---|---|---|
![]() | Allocate |
Allocate the specified numberOfParts, i.e. split into a list of
Money entities with equal value parts.
|
![]() ![]() | Round |
Rounds values to nearest a number of decimals using the currency rounding method.
|
![]() | RoundForDisplay(Boolean) | |
![]() | RoundForDisplay(Boolean, DecimalUtilsDecimalFormat) | |
![]() | RoundForDisplayAbs | |
![]() | RoundToUnit(Decimal, CurrencyRoundingMethod) | |
![]() | RoundToUnit(Decimal, Decimal, CurrencyRoundingMethod) |
Rounds values to nearest currency unit, i.e 16,45 kr. rounded up if the smallest coin is 10 kr will give 20 kr.
or if the smallest coin is 24 aurar(0,25 kr.) then if rounded up it will give 16,50 kr.
|
![]() | ToString | (Overrides ObjectToString.) |