code: function format (value) {
    const math = getMath()
  
    return math.format(value, {
      fn: function (value) {
        if (typeof value === 'number') {
          // round numbers
          return math.format(value, PRECISION)
        } else {
          return math.format(value)
        }
      }
    })
  }
docs: Helper function to format a value. Regular numbers will be rounded
  to 14 digits to prevent round-off errors from showing up.
  @param {*} value