I created an ion-input that I want to the user to put numbers integer or with two decimal places. I’m using the Angular 2 pipe but it’s not working. What should I need to change?
<ion-input type="number" value="{{ exampleNumber | number : '1.2-2'}}"></ion-input>