Companion

object Companion

Properties

Link copied to clipboard
val ZERO: Power

The Power of 0.

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.