ngx-number-only
Version:
A simple directive where we can specify for decimal precisions.
18 lines (10 loc) • 553 B
Markdown
with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.7.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.7.
In the app-module or the module you want to use the directive.
import { NgxNumberOnlyModule } from 'ngx-number-only';
And in HTML file
Use libNumeric directive to specify precision of decimal places and seperator.
<input libNumeric type="text" decimals="2" negative="1" separator="."/>
This library was generated