1.0.8 • Published 2 years ago

math-lib-sb v1.0.8

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

math-lib-sb

math-lib-sb is a javascript library for formating numbers.

Installation

Use the package manager to install math-lib-sb.

npm install math-lib-sb

Usage

const mathLibSb = require('math-lib-sb');

# returns '10.2'
mathLibSb.getFloatNumberWithDot('10,2')

# returns '10,2'
mathLibSb.getFloatNumberWithComma('10.2')

# returns '10.26'
mathLibSb.truncateNumberWithoutRounding('10.263')

# returns '10.263'
mathLibSb.truncateNumberWithoutRounding('10.2634', 3)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago