Angular 2 - Switch the comma value separator to a point

Asked

Viewed 316 times

2

I want the value of my Form to return 2 decimal numbers with a comma separating instead of a dot.

Ex: 20 -> 20,00

And if the value is greater than a thousand he has point separating.

Ex: 1000 -> 1000,00

How can I do that?

  • by https://github.com/castrolol/ng2-mask-moneyDirectives

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.