Caplin Trader 4.0.3

Interface: module:br/presenter/formatter/Formatter

module:br/presenter/formatter/Formatter

Summary

Represents an object with the capability to format values.

Methods

format(vValue, mAttributes)

Formats a value according to some provided attributes.
Parameters:
Name Type Description
vValue Variant the value to format. May be null or undefined.
mAttributes Map A map of attributes to control the way this formatter works. May not be null or undefined.
Implementations:
Returns:
the formatted value. May not be null or undefined.