projects
/
retire.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Creates a parameters subclass that chooses random runs of years from
[retire.git]
/
utils.py
diff --git
a/utils.py
b/utils.py
index 97b98199c1ac2786714d8a2f6f32a178e337fed7..eddefdb7d93ab7427ecbbf212fb38037bd9425f2 100644
(file)
--- a/
utils.py
+++ b/
utils.py
@@
-12,3
+12,6
@@
def format_rate(rate):
return format_rate(rate - 1.0)
else:
return "{:<}%".format(round(rate * 100, 3))
+
+def convert_rate_to_multiplier(rate):
+ return 1.0 + (rate / 100)