Companion

object Companion

Functions

Link copied to clipboard
fun celsius(value: Int): Temperature
fun celsius(value: Long): Temperature

Creates a Temperature instance from the given value in degrees Celsius.

Link copied to clipboard

Creates a Temperature instance from the given value in degrees Fahrenheit.