This commit is contained in:
Andrew Tomaka 2016-05-26 10:25:22 -04:00
parent 645f9c8f23
commit 719f661556

View file

@ -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, ''));
}