fix price and modular
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ export default function toNumber(str, options = {}){
|
||||
return parse_int(trimmedStr, 16);
|
||||
// }else if (options.oct && octRegex.test(str)) {
|
||||
// return Number.parseInt(val, 8);
|
||||
}else if (trimmedStr.search(/.+[eE].+/)!== -1) { //eNotation
|
||||
}else if (trimmedStr.includes('e') || trimmedStr.includes('E')) { //eNotation
|
||||
return resolveEnotation(str,trimmedStr,options);
|
||||
// }else if (options.parseBin && binRegex.test(str)) {
|
||||
// return Number.parseInt(val, 2);
|
||||
|
||||
Reference in New Issue
Block a user