1.1.0 • Published 3 years ago

numable v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

numable

     

Introduction

A javascript library for formatting numbers.

Website and documentation

Browser Compatibility

numable.js supports all browsers that are ES5-compliant (IE8 and below are not supported).

Documentation

To check out live examples and docs, visit numableJS.

Format

See the documentation for detailed formatting Settings

const nnn = numable(123456.123456);
console.log(nnn.format("#,###"));
// console => 123,456

// format
// #,### => 123,456
// ¥#,#### => ¥12,3456
// $#,##0.000 => $123,456.000
// 00000#,###.000000 => 00000123,456.000000
// #.#% => 12.3%
// #.00% => 12.30%
// ...

Acknowlegements

numable.js, while less complex, was inspired by and heavily borrowed from Numeral.js

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago