1.0.0-e • Published 5 years ago

kd-number-formatting v1.0.0-e

Weekly downloads
15
License
-
Repository
-
Last release
5 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

5 years ago

1.0.0-d

5 years ago

1.0.0-c

5 years ago

1.0.0-b

5 years ago

1.0.0

5 years ago