IMNumberDecimalPlacesValidator

This is number decimal places validator.

It defines how many decimals are allowed after comma.

Validator has two parameters: 'scale' and 'fixed'.


Pattern:

1. If it is not fixed: 4.[0, scale]

2. If it is fixed: 4.[scale]


It can be imported in next way: import {{'{'}}IMNumberDecimalPlacesValidator{{'}'}} from 'im-angular-validators'; Also, error interface that validator returns can be imported as well: import {{'{'}}IMNumberDecimalPlacesErrorInterface{{'}'}} from 'im-angular-validators';


Please, take a look at the validator APIs for more detailed information.