diff --git a/index.html b/index.html index 28ae0fb..80ca84b 100644 --- a/index.html +++ b/index.html @@ -145,7 +145,7 @@ return result; } - if (!~result.indexOf ('.')) { + if (result.indexOf ('.') > -1) { missing = deci; result += '.'; } else {