Factored out _floatToString.

This commit is contained in:
Jeremy Fincher 2004-01-23 15:43:09 +00:00
parent fbf417adb2
commit 75ef7630a8
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class Math(callbacks.Privmsg):
r'\.\d+|'
r'\d+\.|'
r'\d+))')
# This is a comment so this PoS will commit.
def _floatToString(self, x):
if -1e-12 < x < 1e-12:
return '0'