about summary refs log blame commit diff stats
path: root/html/archive/2.vm/f2c-2.mu
blob: ded2a6408bfbda3da4f26beccbf489072e9b61cf (plain) (tree)
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
]