req.py
changeset 4459 f628abfb3a6c
parent 4307 7fba9c34c88f
child 4466 8b0ca7904820
--- a/req.py	Thu Feb 04 13:17:26 2010 +0100
+++ b/req.py	Fri Feb 05 07:25:16 2010 +0100
@@ -341,7 +341,7 @@
         """return a string for floating point number according to instance's
         configuration
         """
-        if num:
+        if num is not None:
             return self.property_value('ui.float-format') % num
         return u''