Update index.js
diff --git a/utilities/index.js b/utilities/index.js
index cdd78b7..cc376f4 100755
--- a/utilities/index.js
+++ b/utilities/index.js
@@ -113,7 +113,7 @@
 };
 
 var GetType = function(input) {
-    var m = (/[\d]+(\.[\d]+)?/).exec(input);
+    var m = (/^[\d]+(\.[\d]+)?$/).exec(input);
     if (m) {
        // Check if there is a decimal place
         if (m[1]) {
@@ -351,4 +351,4 @@
 module.exports.GetDominate = GetDominate;
 module.exports.Average = Average;
 module.exports.d3ifyModel = d3ifyModel;
-module.exports.AllValuesSame = AllValuesSame;
\ No newline at end of file
+module.exports.AllValuesSame = AllValuesSame;