diff options
-rw-r--r-- | html/f2c.mu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/html/f2c.mu b/html/f2c.mu new file mode 100644 index 00000000..e3aa8f6c --- /dev/null +++ b/html/f2c.mu @@ -0,0 +1,8 @@ +# c = (f-32) * 5/9 +recipe fahrenheit-to-celsius f:number -> c:number [ + local-scope + load-ingredients + tmp:number <- subtract f, 32 + tmp <- multiply tmp, 5 + c <- divide tmp, 9 +] |