Skip to main content
1 of 6
bouncyball
  • 411
  • 2
  • 4

#R 3.2.4, 55 bytes f=function(x)x*as.numeric(format(Sys.Date(),'%m.%d%y'))

> f(1) [1] 3.1416 > f(3) [1] 9.4248 > f(5) [1] 15.708 

First attempt at a golf. Happy pi day!

bouncyball
  • 411
  • 2
  • 4