Skip to content

Commit f5689d2

Browse files
committed
string formating bug fixed
1 parent 321b092 commit f5689d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labfis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __str__(self):
1212
if self.uncertainty == 0:
1313
return("{:g}".format(self.mean))
1414
else:
15-
su = str(self.uncertainty)
15+
su = "%.16f" % self.uncertainty
1616
i = su.find(".")
1717
if i == -1:
1818
r = - len(su) + 1

0 commit comments

Comments
 (0)