Power
class Power : Comparable
Represents a unit of power. Supported units:
-
watts - see
Power.watts,Double.watts -
kilocalories/day - see
Power.kilocaloriesPerDay,Double.kilocaloriesPerDay
Summary
Public companion functions |
|
|---|---|
Power |
kilocaloriesPerDay(value: Double)Creates |
Power |
Creates |
Public companion functions
kilocaloriesPerDay
Added in 1.1.0
fun kilocaloriesPerDay(value: Double): Power
Creates Power with the specified value in kilocalories/day.
Public functions
Public properties
inKilocaloriesPerDay
Added in 1.1.0
val inKilocaloriesPerDay: Double
Returns the power in kilocalories/day.