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