Versions in this module Expand all Collapse all v0 v0.1.1 Jan 25, 2024 Changes in this version + var ErrDivisionByZero = errors.New("division by 0") + var ErrOverflow = errors.New("overflow") + func ConvertToBuyingUnits(sellingOfferAmount int64, sellingUnitsNeeded int64, pricen int64, priced int64) (int64, int64, error) + func MulFractionRoundDown(x int64, n int64, d int64) (int64, error) + func Parse(v string) (xdr.Price, error) + func StringFromFloat64(v float64) string