From 719f66155607ac0a328c03c516f4b505839c8527 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 26 May 2016 10:25:22 -0400 Subject: [PATCH] Add qa --- public/bot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/bot.js b/public/bot.js index 8c765bd..3c2ab62 100644 --- a/public/bot.js +++ b/public/bot.js @@ -353,6 +353,8 @@ function convertToNumber(string) { return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000000; } else if(string.indexOf('T') > -1) { return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000000000; + } else if(string.indexOf('Qa') > -1) { + return Number(string.replace(/[^0-9\.]+/g, '')) * 1000000000000000; } else { return Number(string.replace(/[^0-9\.]+/g, '')); }