1.1.3 • Published 2 years ago

@rbxts/number-manipulator v1.1.3

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

@rbxts/number-manipulator

NPM

Installation:

npm i @rbxts/number-manipulator

Example Usage

import { NumAbbr, formatNum, abbreviateBytes } from "@rbxts/number-manipulator";

const numAbbr = new NumAbbr(0, ["K", "M"]);

print(numAbbr.abbreviate('100')) // 100

print(formatNum(1000)) // 1,000

print(abbreviateBytes(1024)) // 1 KB
1.1.3

2 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago