openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 528 forks source link

Add string indicator to formatNumber docs #188

Open jmz7v opened 6 years ago

jmz7v commented 6 years ago

From the usage docs, it's not entirely clear that formatNumber() returns a string and the function name might indicate that the return is a number.

Added double quotes to make it very clear and be consistent with the example after formatNumber().