<input class="form-control" [(ngModel)]="valami.Price">
Hi! Is there any simple way to format a number in this case?
now it displays 1000 for example. the goal is to display 1 000.00 i know pipes are not allowed in ngModel so
{{valami.Price | number: 3.2-2}}
is not working here.
the second question is how to replace the thousand separator? the default is ',' what i want to change to ' '. should i write a transform function in the component or, is there any simple way to do that?
thanks