UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

5 lines (4 loc) 186 B
import PriceInterface from "./PriceInterface"; import BigInteger from "../bigInteger/BigInteger"; declare const toAtomic: (price: PriceInterface) => BigInteger; export default toAtomic;