16.0.0 • Published 2 years ago
ngx-number-format v16.0.0
Table of contents
Versions
| Angular | ngx-number-format |
|---|---|
| >=14.0.0 <15.0.0 | v14.x |
| >=13.0.0 <14.0.0 | v13.x |
| >=12.0.0 <13.0.0 | v12.x |
| >=11.0.0 <12.0.0 | v11.x |
| >=10.0.0 <11.0.0 | v3.x |
| >=6.0.0 <10.0.0 | v2.x |
Installation instructions
Install ngx-number-format from npm:
npm install ngx-number-format --saveAdd needed package to NgModule imports:
import { NgxNumberFormatModule } from 'ngx-number-format';
@NgModule({
...
imports: [NgxNumberFormatModule,...]
...
})Add ngxNumberFormat to your input element:
<input type="text" ngxNumberFormat="#,###,###" />Demo
API
| Input | Type | Default | Required | Description |
|---|---|---|---|---|
| allowNegative | boolean | false | no | Allows to negative numbers. |
16.0.0
2 years ago
15.0.0
3 years ago
14.0.0
3 years ago
13.0.0
4 years ago
13.0.1
4 years ago
12.0.0
4 years ago
11.0.0
5 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.2.0
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0-rc.1
6 years ago
1.0.0
6 years ago
0.0.1
6 years ago