v1
2/18/2020 by hkotsubo -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let locale = 'pt-BR';
let options = { minimumFractionDigits: 0, maximumFractionDigits: 2 };
let formatador = new Intl.NumberFormat(locale, options);
delete caserun single casemove downdrag and drop case


ready



[ 987654.321, 987654321 ].forEach(n => {
    formatador.format(n);
});
delete caserun single casemove updrag and drop case


ready



[ 987654.321, 987654321 ].forEach(n => {
    n.toLocaleString(locale, options);
});
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN