times

open fun times(current: Unit<Current>, name: String, symbol: String): Power

Constructs a unit of power equivalent to this unit of voltage multiplied by another unit of electrical current. For example, Volts.times(Amps) will return a unit of power equivalent to one Watt; Volts.times(Milliams) will return a unit of power equivalent to a milliwatt, and so on.

Return

the power unit

Parameters

current

the current unit to multiply by

name

the name of the resulting unit of power

symbol

the symbol used to represent the unit of power