Article Details
Id:17145
Product:finPOWER Connect
Type:NEW
Version:3.03.03
Opened:02/07/2020
Closed:16/07/2020
Released:01/10/2020
Job: J024555

HTML Widgets; widget.FormatCurrency function now allows a minus symbol to always be used when formatting negative values

Generally, negative figures will be displayed using parentheses, e.g. ($200.00) however, a new forceMinusSymbol parameter can be used to force the value to be formatted using the minus symbol which, if presenting the figure to Clients, may make more sense, e.g. -$200.00.


window.alert(widget.FormatCurrency(-123.45, true, false, true));


NOTE: The final 'true' parameter forces a minus symbol to be used.