diff --git a/public/bot.js b/public/bot.js index 381e5d5..97a4f24 100644 --- a/public/bot.js +++ b/public/bot.js @@ -344,6 +344,8 @@ function convertToNumber(string) { return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000; } else if(string.indexOf('B') > -1) { return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000000; + } else if(string.indexOf('T') > -1) { + return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000000000; } else { return Number(string.replace(/[^0-9\.]+/g, '')); }