Click or drag to resize

Money Methods

The Money type exposes the following members.

Methods
  NameDescription
Public methodAllocate
Allocate the specified numberOfParts, i.e. split into a list of Money entities with equal value parts.
Public methodStatic memberRound
Rounds values to nearest a number of decimals using the currency rounding method.
Public methodRoundForDisplay(Boolean)
Public methodRoundForDisplay(Boolean, DecimalUtilsDecimalFormat)
Public methodRoundForDisplayAbs
Public methodRoundToUnit(Decimal, CurrencyRoundingMethod)
Public methodRoundToUnit(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.
Public methodToString (Overrides ObjectToString.)
Top
See Also