AmountFormatter
is typically used in the XML Renderer Framework, but can be invoked programmatically
as in the following example which evaluates to "1.23456789B" and "1.230B" respectively:
caplin.element.formatter.AmountFormatter.format(1234567890, {})
caplin.element.formatter.AmountFormatter.format(1234567890, {dp: 4})
Attributes | Name and Description |
---|---|
|
caplin.element.formatter.AmountFormatter()
|
►
caplin.element.formatter.AmountFormatter()