js-abbreviation-number
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "js-abbreviation-number", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Abbreviate numbers in javascript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
# react-native-app-builder · [![Circle CI](https://circleci.com/gh/moh3n9595/js-abbreviation-number/tree/master.svg?style=shield)](https://circleci.com/gh/moh3n9595/js-abbreviation-number) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/moh3n9595/js-abbreviation-number/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](https://github.com/moh3n9595/js-abbreviation-number/compare) | ||
# js-abbreviation-number · [![Circle CI](https://circleci.com/gh/moh3n9595/js-abbreviation-number/tree/master.svg?style=shield)](https://circleci.com/gh/moh3n9595/js-abbreviation-number) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/moh3n9595/js-abbreviation-number/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](https://github.com/moh3n9595/js-abbreviation-number/compare) | ||
@@ -25,3 +25,3 @@ | ||
const num = abbreviateNumber(1000, 1); // expected 1K | ||
const num = abbreviateNumber(1000, 1); // expected 1.0K | ||
@@ -28,0 +28,0 @@ const num = abbreviateNumber(12, 0); // expected 12 |