Nathan Woodburn
f9af1b2606
All checks were successful
Build Docker / BuildImage (push) Successful in 45s
5 lines
127 B
Python
5 lines
127 B
Python
def from_small(amount:int) -> float:
|
|
return amount/10**6
|
|
|
|
def to_small(amount:float) -> int:
|
|
return int(amount*(10**6)) |