I am having an input box of type number in my html page in that it allows multiple decimal places rather than accepting only one decimal place can anyone tell me why it occurs like this and how to overcome this issue.
Html:
<input stopccp focus-me class="inputContainer" type="number" name=""
ng-model="vm.total_amount[$index]" ng-change="vm.onTotalCost()"
limit-char limit="5">