Companion

object Companion

Functions

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

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

Properties

Link copied to clipboard
val Number.kph: Speed

Returns a Speed equal to this Number of kilometers per hour

Link copied to clipboard
val Number.m_s: Speed

Returns a Speed equal to this Number of meters per second

Link copied to clipboard
val Number.mph: Speed

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.