0.1.0 • Published 9 months ago

make-currency v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Make Currency

npm NPM

StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

Work with price values in JavaScript in a simplified way.\ Support for USD and BRL

Installing

Using npm:

npm install make-currency

Using yarn:

yarn add make-currency

Using jsDelivr CDN:

<script src="https://cdn.jsdelivr.net/npm/make-currency/dist/make.min.js"></script>

Using unpkg CDN:

<script src="https://unpkg.com/make-currency/dist/make.min.js"></script>

Usage

Display currency values

In the current version BRL for floatValue or stringValue

typedinput valuefloat valuestring value
0,000.000,00
10,010.010,01
120,120.120,12
1231,231.231,23
123412,3412.3412,34
12345123,45123.45123,45
1234561.234,561234.561.234,56
123456712.345,6712345.6712.345,67
12345678123.456,78123456.78123,456,78
1234567891.234.567,891234567.891.234.567,89

Announcement

en: More coins will be available soon!

pt: Em breve mais moedas estará disponível!

es: ¡Más monedas estarán disponibles pronto!

Issues

Feel free to raise an issue on Github if you find a bug or have a feature request

0.1.0

9 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago