Skip to content

Commit

Permalink
Enhancement #372 : write Peta and Exa.
Browse files Browse the repository at this point in the history
  • Loading branch information
Insoleet committed Feb 12, 2016
1 parent 820aa90 commit 6e5ebb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sakia/core/money/quantitative.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def differential(self):

@staticmethod
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:
value = -value
multiplier = -1
Expand Down

0 comments on commit 6e5ebb8

Please sign in to comment.