firewallet-mobile-api/hns.py
Nathan Woodburn f9af1b2606
All checks were successful
Build Docker / BuildImage (push) Successful in 45s
feat: Add initial watchonly server files
2024-06-03 12:22:28 +10:00

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))