Tin

Examples · learn/13-modules/lib · 195 of 339

temps

examples/learn/13-modules/lib/temps.tintin run examples/learn/13-modules/lib/temps.tin
fn toFahrenheit(c: float): float => c * 9.0 / 5.0 + 32.0
fn toCelsius(f: float): float => (f - 32.0) * 5.0 / 9.0