Contents

UnitFuelEfficiency

A unit of measure for fuel efficiency.

Declaration

class UnitFuelEfficiency

Overview

You typically use instances of UnitFuelEfficiency to represent specific quantities of fuel efficiency using the NSMeasurement class.

Fuel Efficiency

Fuel efficiency corresponds to the thermal efficiency of a process that converts the chemical potential energy of a fuel into kinetic energy. Fuel efficiency can be expressed by SI derived units in terms of cubic meters per meter (m3/m), but is more commonly expressed in terms of liters per kilometer (L/km) and miles per gallon (mpg).

The UnitFuelEfficiency class defines its baseUnit() as litersPer100Kilometers, and provides the following units:

Name

Method

Symbol

Liters Per 100 Kilometers

Litersper100kilometers

L/100km

Miles Per Gallon

Milespergallon

mpg

Miles Per Imperial Gallon

Milesperimperialgallon

mpg

Topics

Accessing the Base Unit

Accessing Predefined Units