+1
-1
| { | ||
| "name": "strnum", | ||
| "version": "2.1.1", | ||
| "version": "2.1.2", | ||
| "description": "Parse String to Number based on configuration", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+6
-0
@@ -98,1 +98,7 @@ # strnum | ||
| ``` | ||
| # Try out our other work | ||
| WishIn - You need it if negative thoughts take over all the time <br> | ||
| <a href="https://play.google.com/store/apps/details?id=com.solothought.wishin"> <img src="https://solothought.com/products/assets/images/wishin/YouTubeThumbnail.png" width="500px"/> </a> |
+1
-1
@@ -28,3 +28,3 @@ const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/; | ||
| // 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); | ||
@@ -31,0 +31,0 @@ // }else if (options.parseBin && binRegex.test(str)) { |
23730
1.29%104
6.12%