to-percent-js
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -53,3 +53,3 @@ "use strict"; | ||
if (-1 !== maybeString.indexOf('.') || maybeFloat.indexOf && -1 !== maybeFloat.indexOf('.')) { | ||
if (-1 !== maybeString.indexOf(".")) { | ||
return maybeFloat; | ||
@@ -56,0 +56,0 @@ } else { |
@@ -38,3 +38,3 @@ import _typeof from "reshow-runtime/es/helpers/typeof"; | ||
if (-1 !== maybeString.indexOf('.') || maybeFloat.indexOf && -1 !== maybeFloat.indexOf('.')) { | ||
if (-1 !== maybeString.indexOf(".")) { | ||
return maybeFloat; | ||
@@ -41,0 +41,0 @@ } else { |
{ | ||
"name": "to-percent-js", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Change number to percentage.", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
13218