1.1.3 • Published 3 years ago

@rbxts/number-manipulator v1.1.3

Weekly downloads
5
License
ISC
Repository
github
Last release
3 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

3 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago