commonMain.io.nacular.measured.units2.Temperature.kt Maven / Gradle / Ivy
//package io.nacular.measured.units2
//
///**
// * Created by Nicholas Eddy on 8/12/20.
// */
//open class Temperature(suffix: String, toBase: () -> Double): Units(suffix, toBase) {
// constructor(suffix: String, ratio: Double = 1.0): this(suffix, { ratio })
//
// operator fun div(other: Time) = toBase() / other.toBase()
//
// companion object {
// val celcius = Temperature("°C")
// val fahrenheit = Time("°F") {
// 1.0
// }
// }
//}