]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - src/StringUtils.py
Moved the line-height definition into the body element.
[dead/census-tools.git] / src / StringUtils.py
index dcb16c12f19f71c229088077eb0c4465ba92ced2..96e07ea12a42430b79cb7f14b9500ad9f283c42c 100644 (file)
@@ -12,3 +12,7 @@ def is_float(s):
         return True
     except:
         return False
+
+
+def is_negative_float(s):
+    return (is_float(s) and (float(s) < 0.0))