1.0.0-e • Published 6 years ago

kd-number-formatting v1.0.0-e

Weekly downloads
15
License
-
Repository
-
Last release
6 years ago

Able to format numbers.

let knf = require('kd-number-formatting');
console.log(knf.formatStandard(1234567,','));
=> 1,234,567
console.log(knf.formatStandard(1234567,'.'));
=> 1.234.567
console.log(knf.formatStandard(1234567,'>'));
=> 1>234>567
console.log(knf.formatWinnersPlace(123));
=> 123rd
console.log(knf.formatWinnersPlace(122));
=> 122nd
console.log(knf.formatWinnersPlace(11));
=> 11th
1.0.0-e

6 years ago

1.0.0-d

6 years ago

1.0.0-c

6 years ago

1.0.0-b

6 years ago

1.0.0

6 years ago