wattHours

Creates an Energy from a Number in Watt-hours. The value will be rounded to the nearest integer. For example:

10.wattHours // Energy representing 10Wh
10.5.wattHours // Energy representing 11Wh
10.4.wattHours // Energy representing 10Wh