-2

I have a math formula

z3.value = (Math.ceil(z3.value*20)/20).toFixed(2);

and I would like that also write a Thousand separator like this: 1'000.00

How can I do that?

Federico klez Culloca
  • 24,336
  • 15
  • 57
  • 93
Saro
  • 1
  • https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat – BenM May 28 '22 at 10:41
  • Does this answer your question? [How to print a number with commas as thousands separators in JavaScript](https://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript) – Federico klez Culloca May 28 '22 at 10:41

0 Answers0