Convert currency to text in Table

Hi I'm working on a PDF connection with table input. Everything works fine except te currency fields on de PDF.

Within the PDF you can setup a Field as number with currency but that's not working and shows only number(text) without any , . or currency sign.

What i want todo is make a extra field to convert currency to text with formula but formula is not supported in a table. In a form it works fine.

So I have to make a javascript option to convert the currency to text or there is another option I don't know.

For javascript I only get flat text without ,. or currency sign.

Who has a solution for this.

Thanks.

mvg,

Roelf

Solved the problem with a little code:

var bdr = BO.F_Currency1.getValue();
var n = new Number(bdr);
var myObj = {
style: "currency",
currency: "EUR"
}
var x = n.toLocaleString("nl-NL", myObj);

BO.F_Txtbedrag.setValue(x)