diff options
| author | Wes Bos <wesbos@gmail.com> | 2017-08-11 14:56:13 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2017-08-11 14:56:13 -0400 |
| commit | 416c2cbae0e69b724876d232bf813eefd7550174 (patch) | |
| tree | ce7109c0f61dbeee7077164cb48a4681214e0464 /.next/dist/lib | |
| parent | 222ab374d53a206332b1ab51c7c43f6d5dc7a31e (diff) | |
getting there
Diffstat (limited to '.next/dist/lib')
| -rw-r--r-- | .next/dist/lib/formatMoney.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.next/dist/lib/formatMoney.js b/.next/dist/lib/formatMoney.js new file mode 100644 index 0000000..529dd2f --- /dev/null +++ b/.next/dist/lib/formatMoney.js @@ -0,0 +1,9 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (amount) { + return '$' + (amount / 100).toLocaleString(); +};
\ No newline at end of file |
