6 lines
169 B
Python
6 lines
169 B
Python
def euro_string(value: int) -> str:
|
|
"""
|
|
Convert cents to string formatted euro
|
|
"""
|
|
result = "€ {:.2f}".format(round(value / 100, 2))
|
|
return result
|