Type Property

milesPerGallon

Returns the miles per gallon unit of fuel efficiency.

Declaration

@NSCopying class var milesPerGallon: UnitFuelEfficiency { get }

See Also

Accessing Predefined Units

class var milesPerImperialGallon: UnitFuelEfficiency

Returns the miles per imperial gallon unit of fuel efficiency.

class var litersPer100Kilometers: UnitFuelEfficiency

Returns the liter per 100 kilometers unit of fuel efficiency.