resilient society.
about summary refs log tree commit diff stats
path: root/html/f2c-1.mu
blob: b81203c4974f054af02f5bfcfabc93246e0471fb (plain) (blame)
1
2
3
4
5
6
7
8
# c = (f-32) * 5/9
def fahrenheit-to-celsius f:number -> c:number [
  local-scope
  load-ingredients
  tmp:number <- subtract f, 32
  tmp <- multiply tmp, 5
  c <- divide tmp, 9
]