I'm using the JavaScript method "toLocateString" on a jsReport helper function to format prices, but it doesn't work:
function formatPrice(x){
return x.toLocaleString('it-IT');
}
Can anyone help me?
I'm using the JavaScript method "toLocateString" on a jsReport helper function to format prices, but it doesn't work:
function formatPrice(x){
return x.toLocaleString('it-IT');
}
Can anyone help me?