4 lines
134 B
Python
4 lines
134 B
Python
# Odds omzetten tussen notaties
|
|
def decimaal_naar_amerikaans(d):
|
|
return round((d - 1) * 100) if d >= 2 else round(-100 / (d - 1))
|