Pi display fix
This commit is contained in:
parent
ae3aff1616
commit
69f4ae4698
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ def non_zero_percentage (percentage: int) -> str:
|
||||||
if percentage < 0.01:
|
if percentage < 0.01:
|
||||||
return "<0.01%"
|
return "<0.01%"
|
||||||
else:
|
else:
|
||||||
return "{:0.0f}%".format(percentage)
|
return "{:0.2f}%".format(percentage)
|
||||||
|
|
||||||
def manufacture_alternative_scenarios(form: FormData) -> typing.Dict[str, models.ExposureModel]:
|
def manufacture_alternative_scenarios(form: FormData) -> typing.Dict[str, models.ExposureModel]:
|
||||||
scenarios = {}
|
scenarios = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue