Skip to main content
deleted 10 characters in body
Source Link
duckmayr
  • 451
  • 3
  • 6

R, 34 28 bytes

round(exp((scan()-31)/16),2)

Try it online!

There seems to be some controversy about whether trailing zeros must be printed. If so, the following 35 byte solution works:

sprintf("%.2f",exp((scan()-31)/16))

R, 34 28 bytes

round(exp((scan()-31)/16),2)

Try it online!

There seems to be some controversy about whether trailing zeros must be printed. If so, the following 35 byte solution works:

sprintf("%.2f",exp((scan()-31)/16))

R, 28 bytes

round(exp((scan()-31)/16),2)

Try it online!

There seems to be some controversy about whether trailing zeros must be printed. If so, the following 35 byte solution works:

sprintf("%.2f",exp((scan()-31)/16))
Source Link
duckmayr
  • 451
  • 3
  • 6

R, 34 28 bytes

round(exp((scan()-31)/16),2)

Try it online!

There seems to be some controversy about whether trailing zeros must be printed. If so, the following 35 byte solution works:

sprintf("%.2f",exp((scan()-31)/16))