Type Alias

CFNumberFormatterKey

No overview available.

Declaration

typedef CFStringRef CFNumberFormatterKey;

Topics

Type Properties

kCFNumberFormatterAlwaysShowDecimalSeparator

Specifies if the result of converting a value to a string should always contain the decimal separator, even if the number is an integer.

kCFNumberFormatterCurrencyCode

Specifies the currency code, a CFString object.

kCFNumberFormatterCurrencyDecimalSeparator

Specifies the currency decimal separator, a CFString object.

kCFNumberFormatterCurrencyGroupingSeparator

Specifies the grouping symbol to use when placing a currency value within a string, a CFString object.

kCFNumberFormatterCurrencySymbol

Specifies the symbol for the currency, a CFString object.

kCFNumberFormatterDecimalSeparator

Specifies the decimal separator, a CFString object.

kCFNumberFormatterDefaultFormat

The original format string for the formatter (given the date and time style and locale specified at creation), a CFString object.

kCFNumberFormatterExponentSymbol

Specifies the exponent symbol (“E” or “e”) in the scientific notation of numbers (for example, as in 1.0e+56), a CFString object.

kCFNumberFormatterFormatWidth

Specifies the width of a formatted number within a string that is either left justified or right justified based on the value of kCFNumberFormatterPaddingPosition, a CFNumber object.

kCFNumberFormatterGroupingSeparator

Specifies the grouping separator, a CFString object.

kCFNumberFormatterGroupingSize

Specifies how often the “thousands” or grouping separator appears, as in “10,000,000”, a CFNumber object.

kCFNumberFormatterInfinitySymbol

Specifies the string that is used to represent the symbol for infinity, a CFString object.

kCFNumberFormatterInternationalCurrencySymbol

Specifies the international currency symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterIsLenient

Specifies whether the formatter is lenient, aCFBoolean object.

kCFNumberFormatterMaxFractionDigits

Specifies the maximum number of digits after a decimal point, a CFNumber object.

kCFNumberFormatterMaxIntegerDigits

Specifies the maximum number of integer digits before a decimal point, a CFNumber object.

kCFNumberFormatterMaxSignificantDigits

Specifies the maximum number of significant digits to use, aCFNumber object.

kCFNumberFormatterMinFractionDigits

Specifies the minimum number of digits after a decimal point, a CFNumber object.

kCFNumberFormatterMinIntegerDigits

Specifies the minimum number of integer digits before a decimal point, a CFNumber object.

kCFNumberFormatterMinSignificantDigits

Specifies the minimum number of significant digits to use, aCFNumber object.

kCFNumberFormatterMinusSign

Specifies the symbol for the minus sign, a CFString object.

kCFNumberFormatterMultiplier

Specifies the multiplier to use when placing a formatted number within a string, a CFNumber object.

kCFNumberFormatterNaNSymbol

Specifies the string that is used to represent NaN (“not a number”) when values are converted to strings, a CFString object.

kCFNumberFormatterNegativePrefix

Specifies the minus sign prefix symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterNegativeSuffix

Specifies the minus sign suffix symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterPaddingCharacter

Specifies the padding character to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterPaddingPosition

Specifies the position of a formatted number within a string, a CFNumber object.

kCFNumberFormatterPerMillSymbol

Specifies the per mill (1/1000) symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterPercentSymbol

Specifies the string that is used to represent the percent symbol, a CFString object.

kCFNumberFormatterPlusSign

Specifies the symbol for the plus sign, a CFString object.

kCFNumberFormatterPositivePrefix

Specifies the plus sign prefix symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterPositiveSuffix

Specifies the plus sign suffix symbol to use when placing a formatted number within a string, a CFString object.

kCFNumberFormatterRoundingIncrement

Specifies a positive rounding increment, or 0.0 to disable rounding, a CFNumber object.

kCFNumberFormatterRoundingMode

Specifies how the last digit is rounded, as when 3.1415926535… is rounded to three decimal places, as in 3.142. See CFNumberFormatterRoundingMode for possible values.

kCFNumberFormatterSecondaryGroupingSize

Specifies how often the secondary grouping separator appears, a CFNumber object. See Creating and Using CFNumberFormatter Objects for more information.

kCFNumberFormatterUseGroupingSeparator

Specifies if the grouping separator should be used, a CFBoolean object.

kCFNumberFormatterUseSignificantDigits

Specifies the whether the formatter uses significant digits, a CFBoolean object.

kCFNumberFormatterZeroSymbol

Specifies the string that is used to represent zero, a CFString object.