Set the regular expression to validate the input using ng-pattern. Here I want to accept only numbers with a maximum of 2 decimal places and with a dot separator.
If you are using Angular 2 (apparently it also works for Angular 4 too), you can use the following to round to two decimal places\{\{ exampleNumber | number : '1.2-2' }}, as in:
<ion-input value="\{\{ exampleNumber | number : '1.2-2' }}"></ion-input>
BREAKDOWN
'1.2-2' means {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}:
A minimum of 1 digit will be shown before decimal point
It will show at least 2 digits after decimal point