Convert farenheit to degrees celsius

Face with waiting expression Nothing to see yet!

Loading takeymakey...
TakeyMakey code
Want this tool to do something else? Edit the code below and make it do whatever you want.
({
  make: (content) => {
    const c = (v) => ((v - 32) / 9) * 5

    return content.replace(/\d+(\.\d+)?(°[FC]?)?/g, (raw) => {
      if (/°C/.test(raw)) return raw
      const v = c(parseFloat(raw))
      return Number.isNaN(v) ? raw : v.toFixed(1) + "°C"
    })
  },
})