Class

NSUnitFuelEfficiency

A unit of measure for fuel efficiency.

Declaration

@interface NSUnitFuelEfficiency : NSDimension

Overview

You typically use instances of NSUnitFuelEfficiency 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 NSUnitFuelEfficiency class defines its base unit 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

+ baseUnit

Returns the base unit of fuel efficiency. Equal to litersPer100Kilometers.

Accessing Predefined Units

milesPerImperialGallon

Returns the miles per imperial gallon unit of fuel efficiency.

litersPer100Kilometers

Returns the liter per 100 kilometers unit of fuel efficiency.

milesPerGallon

Returns the miles per gallon unit of fuel efficiency.

Relationships

Inherits From

Conforms To