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