Companion

object Companion

Properties

Link copied to clipboard

Returns a Speed equal to this Number of kilometers per hour

Link copied to clipboard

Returns a Speed equal to this Number of meters per second

Link copied to clipboard

Returns a Speed equal to this Number of miles per hour

Link copied to clipboard
val ZERO: Speed

The speed equal to exactly 0 km/h.

Functions

Link copied to clipboard
fun Number.toSpeed(unit: SpeedUnit): Speed

Returns a Speed equal to this Number of the specified unit.