Forum Discussion

Muts's avatar
Muts
New Contributor
7 years ago

Javascript toLocaleString

I have:- var numb = 1234.5678; var frmt = numb.toLocaleString('de-DE', { style: 'currency', currency: 'EUR',minimumFractionDigits: 2, maximumFractionDigits: 2});   I expect frmt to be 1.234,57 € ...