rabin 7 years ago
parent
commit
3b7dc6c31d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      core.py

+ 8 - 0
core.py

@@ -351,4 +351,12 @@ class Check(object):
 		except ValueError:
 			return False
 
+	@staticmethod
+	def numberFloat(value):
+		try:
+			float(value)
+			return True
+		except ValueError:
+			return False
+
 Demeter.initConfig()