div

operator fun div(scale: Number): Energy

Divides this Energy value by the given scale value.

Return

A new Energy instance representing the result of the division.

Parameters

scale

The value to divide this Energy by.


operator fun div(other: Energy): Double

Returns the ratio of this Energy to the other.

Return

The ratio of this Energy to the other.

Parameters

other

The Energy to divide by.