UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

8 lines (7 loc) 280 B
import QuantityInterface from "../quantity/QuantityInterface"; import PriceInterface from "./PriceInterface"; /** * Gets the price of two quantites. */ declare const createPrice: (base: QuantityInterface, quote: QuantityInterface) => PriceInterface; export default createPrice;