code: function computeQuality(takerGets, takerPays) {
    const quotient = new BigNumber(takerPays.value).dividedBy(takerGets.value)
    return quotient.toDigits(16, BigNumber.ROUND_HALF_UP).toString()
  }
docs: TODO: remove this function once rippled provides quality directly