Companion

object Companion

Functions

Link copied to clipboard
fun kilowatts(value: Double): Power
fun kilowatts(value: Int): Power
fun kilowatts(value: Long): Power

Creates a Power instance from the given value in kilowatts.

Link copied to clipboard
fun watts(value: Double): Power
fun watts(value: Int): Power
fun watts(value: Long): Power

Creates a Power instance from the given value in watts.