Problem with toLocaleString on nodejs in production!

0

Talk the guys! I'm having trouble using toLocaleString in production! By using toLocaleString this way

const number = (num / 100).toLocaleString('pt-BR', { style: 'currency', currency: 'BRL' });

In mac the return is correct $ 10,000.00 when uploading to the server in production the return is $ 10,000.00 Has anyone gone through this?

    
asked by anonymous 21.09.2018 / 13:31

0 answers