FormatJSFinmathMoney (open)

Format money amounts as our JS finmath library expects it (simply n[.nnnnn] eg 4.25 or 8.5)

Syntax

LOADLIB "wh::money.whlib";

STRING FUNCTION FormatJSFinmathMoney(MONEY indata)

Parameters

MONEY indata

Money value to format

Return value

STRING

Money value formatted so the finmath functions can process them