I have the following:
<td>{{results | number:2}}</td> => esto sale en la vista 120.00
<td>
<input type="number" ng-model="results" step="any"/>
=> esto sale en la vista 120
<input type="number" ng-model="results | number:2" step="any"/>
=> no sale nada en la vista
</td>
What do I have to do to get 120.00 out in the input?
That is, the value with two decimals.
You can consult this example that happens the same: