Hi,
I'm asking myself (plus spending hours on internet research) if there
is a 'best practice' for using formatted numbers in Angular.
I'm building a huge finance application. Lots of pages with lots of
numbers. For simplicity I declare all the input fields as type="number".
This
enables me to do all the calculations.
At the beginning of the development I started with input type text to be
able to format the numbers with decimal and thousand separators.
But this leads me to huge problems in using these strings in calculations.
I first had to unformat them, before I could calculate with them.
Now with using number type, calculation is easy, but customer wants to
formatted numbers. What is the best way of dealing with this dilemma?
Cheers and thanks for your advices
Klaus
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.