Examples · learn/13-modules/lib · 195 of 339
temps
tin run examples/learn/13-modules/lib/temps.tinfn toFahrenheit(c: float): float => c * 9.0 / 5.0 + 32.0
fn toCelsius(f: float): float => (f - 32.0) * 5.0 / 9.0 Examples · learn/13-modules/lib · 195 of 339
tin run examples/learn/13-modules/lib/temps.tinfn toFahrenheit(c: float): float => c * 9.0 / 5.0 + 32.0
fn toCelsius(f: float): float => (f - 32.0) * 5.0 / 9.0