Merge pull request #317 from clay53/master
This commit is contained in:
commit
82b1c8c51b
2 changed files with 4 additions and 0 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -2665,6 +2665,8 @@ function numberWithCommas(x) {
|
|||
}
|
||||
|
||||
function formatCredits(amount, precision, shortFormat = false) {
|
||||
if (!amount) return '--';
|
||||
|
||||
let actualAmount = parseFloat(amount);
|
||||
let actualPrecision = parseFloat(precision);
|
||||
let suffix = '';
|
||||
|
|
|
@ -5,6 +5,8 @@ function numberWithCommas(x) {
|
|||
}
|
||||
|
||||
export function formatCredits(amount, precision, shortFormat = false) {
|
||||
if (!amount) return '--';
|
||||
|
||||
let actualAmount = parseFloat(amount);
|
||||
let actualPrecision = parseFloat(precision);
|
||||
let suffix = '';
|
||||
|
|
Loading…
Reference in a new issue