schoero / swissqrbill

Swiss QR Bill generation in Node.js and browsers
MIT License
156 stars 29 forks source link

fix: remove unwanted first space with formatAmount() #349

Closed popod closed 2 years ago

popod commented 2 years ago

utils.formatAmount() could return a first char which is not wanted.

utils.formatAmount(100) // return ' 100.00' (the first char is a space) as it should return '100.00'
schoero commented 2 years ago

Merged, Thank you 👍