Enumeration

HKMetricPrefix

Prefixes that can be added to SI units to change the order of magnitude.

Declaration

typedef enum HKMetricPrefix : NSInteger {
    ...
} HKMetricPrefix;

Topics

Prefixes

HKMetricPrefixNone

A prefix that does not modify the base unit.

HKMetricPrefixFemto

A prefix that multiplies the base unit by 1e-15.

HKMetricPrefixPico

A prefix that multiplies the base unit by 1e-12.

HKMetricPrefixNano

A prefix that multiplies the base unit by 1e-9.

HKMetricPrefixMicro

A prefix that multiplies the base unit by 1e-6.

HKMetricPrefixMilli

A prefix that multiplies the base unit by 0.001.

HKMetricPrefixCenti

A prefix that multiplies the base unit by 0.01.

HKMetricPrefixDeci

A prefix that multiplies the base unit by 0.1.

HKMetricPrefixDeca

A prefix that multiplies the base unit by 10.

HKMetricPrefixHecto

A prefix that multiplies the base unit by 100.

HKMetricPrefixKilo

A prefix that multiplies the base unit by 1000.

HKMetricPrefixMega

A prefix that multiplies the base unit by 1e6.

HKMetricPrefixGiga

A prefix that multiplies the base unit by 1e9.

HKMetricPrefixTera

A prefix that multiplies the base unit by 1e12.

See Also

Units and Quantities

Defining and Converting Units and Quantities

Create and convert units and quantities.

HKQuantity

An object that stores a value for a given unit.

HKUnit

A class for managing the units of measure within HealthKit.