Skip to content
Snippets Groups Projects
Commit 6e5ebb82 authored by inso's avatar inso
Browse files

Enhancement #372 : write Peta and Exa.

parent 820aa908
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ class Quantitative(BaseReferential): ...@@ -54,7 +54,7 @@ class Quantitative(BaseReferential):
@staticmethod @staticmethod
def to_si(value, digits): def to_si(value, digits):
prefixes = ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y', 'z', 'y'] prefixes = ['', 'k', 'M', 'G', 'Tera', 'Peta', 'Exa', 'Zeta', 'Yotta']
if value < 0: if value < 0:
value = -value value = -value
multiplier = -1 multiplier = -1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment