1.0.11 • Published 4 years ago

si-postfix v1.0.11

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

SI Postfix

Convert a number into its postfixed si name equivalent based on the selected scale.

e.g. 1000 becomes 1k

Usage

import * as si from "si-postfix";

const text = si.postfix(1000)

console.log(text) // ==> "1k"

Names of large numbers

While the task seems trivial, long and short scales are two of several naming systems for integer powers of ten which use some of the same terms with different magnitudes.

See the names of large numbers on Wikipedia for more details.

1.0.11

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago