mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Factored out _floatToString.
This commit is contained in:
parent
fbf417adb2
commit
75ef7630a8
@ -97,6 +97,7 @@ class Math(callbacks.Privmsg):
|
|||||||
r'\.\d+|'
|
r'\.\d+|'
|
||||||
r'\d+\.|'
|
r'\d+\.|'
|
||||||
r'\d+))')
|
r'\d+))')
|
||||||
|
# This is a comment so this PoS will commit.
|
||||||
def _floatToString(self, x):
|
def _floatToString(self, x):
|
||||||
if -1e-12 < x < 1e-12:
|
if -1e-12 < x < 1e-12:
|
||||||
return '0'
|
return '0'
|
||||||
|
Loading…
Reference in New Issue
Block a user