function printRatio (value) {
  console.log(math.format(value, { fraction: 'ratio' }))
}
Helper function to output a value in the console.
Fractions will be formatted as ratio, like '1/3'.
@param {*} value