Forums

Calculation with comma and €

m-r-promotion 29 Mar, 2020
Hello,

I use chronoforms6 with an calculation from the FAQ.
It works very fine, but I need a calculation with comm and in the Total-Field should be displayed the €-Sign.

I have not knowledge about PHP or JavaScript.

Can anyone help me, what I must do?

Best regards

Markus
healyhatman 29 Mar, 2020
let number = yourCalculatedValueHere;
jQuery('#identifier').text(new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(number)));
This topic is locked and no more replies can be posted.