millify icon indicating copy to clipboard operation
millify copied to clipboard

Convert long numbers to pretty, human-readable strings

Results 8 millify issues
Sort by recently updated
recently updated
newest added

I would like to specify a maximum number of significant digits for a number, so that I may better estimate how much space to allocate in design. Currently I may...

https://codesandbox.io/s/magical-water-f7f84n?file=/src/index.js:0-164 ```javascript import millify from "millify"; const OneBelow1Mill = 999999; const OneBelow100G = 99999; console.log(millify(OneBelow1Mill)); console.log(millify(OneBelow100G)); ``` Output: > 1M > 100K It should be: > 999K > 99K Should...

I have found a few numbers that are not being abbreviated: 1000000000000000000 210000000000000000 105000000000000000 I am having this issue on Brave browser, if that is of any help.

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

Now we can format numbers greater than 1000000000000000000

This library is CJS, so when used from an ESM module, you have to do this: ``` import millify from 'millify'; millify.default(...) ``` However, this doesn't match up with the...

The `precision` argument isn't always honored if the resulting string ends in zeroes. There should be some kind of "padding" or "strict precision" argument so that the number is padded...

## Problem: The `millify` library throws a warning when the input value exceeds JavaScript’s safe integer range (`-(2^53 - 1)` to `(2^53 - 1)`), causing incorrect behavior when trying to...