API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPNumberFormatter.j File Reference

Go to the source code of this file.

Macros

#define SET_NEEDS_NUMBER_HANDLER_UPDATE()   _numberHandler = nil
 

Variables

var CPNumberFormatterCurrencyCodeKey = @"@"CPNumberFormatterCurrencyCodeKey"
 
 CPNumberFormatterCurrencyStyle = 2
 
var CPNumberFormatterCurrencySymbolKey = @"@"CPNumberFormatterCurrencySymbolKey"
 
 CPNumberFormatterDecimalStyle = 1
 
var CPNumberFormatterGeneratesDecimalNumbers = @"@"CPNumberFormatterGeneratesDecimalNumbers"
 
var CPNumberFormatterGroupingSeparatorKey = @"@"CPNumberFormatterGroupingSeparatorKey"
 
var CPNumberFormatterMaximumFractionDigitsKey = @"@"CPNumberFormatterMaximumFractionDigitsKey"
 
var CPNumberFormatterMaximumKey = @"@"CPNumberFormatterMaximumKey"
 
var CPNumberFormatterMinimumFractionDigitsKey = @"@"CPNumberFormatterMinimumFractionDigitsKey"
 
var CPNumberFormatterMinimumKey = @"@"CPNumberFormatterMinimumKey"
 
 CPNumberFormatterNoStyle = 0
 
 CPNumberFormatterPercentStyle = 3
 
 CPNumberFormatterRoundCeiling = CPRoundUp
 
 CPNumberFormatterRoundDown = CPRoundDown
 
 CPNumberFormatterRoundFloor = CPRoundDown
 
 CPNumberFormatterRoundHalfDown = _CPRoundHalfDown
 
 CPNumberFormatterRoundHalfEven = CPRoundBankers
 
 CPNumberFormatterRoundHalfUp = CPRoundPlain
 
var CPNumberFormatterRoundingModeKey = @"@"CPNumberFormatterRoundingModeKey"
 
 CPNumberFormatterRoundUp = CPRoundUp
 
 CPNumberFormatterScientificStyle = 4
 
 CPNumberFormatterSpellOutStyle = 5
 
var CPNumberFormatterStyleKey = @"@"CPNumberFormatterStyleKey"
 
var NumberRegex = new RegExp('(-)?(\\d*)(\\.(\\d*))?')
 

Macro Definition Documentation

#define SET_NEEDS_NUMBER_HANDLER_UPDATE ( )    _numberHandler = nil

Definition at line 42 of file CPNumberFormatter.j.

Variable Documentation

var CPNumberFormatterCurrencyCodeKey = @"@"CPNumberFormatterCurrencyCodeKey"

Definition at line 294 of file CPNumberFormatter.j.

CPNumberFormatterCurrencyStyle = 2

Definition at line 27 of file CPNumberFormatter.j.

var CPNumberFormatterCurrencySymbolKey = @"@"CPNumberFormatterCurrencySymbolKey"

Definition at line 295 of file CPNumberFormatter.j.

CPNumberFormatterDecimalStyle = 1

Definition at line 26 of file CPNumberFormatter.j.

var CPNumberFormatterGeneratesDecimalNumbers = @"@"CPNumberFormatterGeneratesDecimalNumbers"

Definition at line 296 of file CPNumberFormatter.j.

var CPNumberFormatterGroupingSeparatorKey = @"@"CPNumberFormatterGroupingSeparatorKey"

Definition at line 293 of file CPNumberFormatter.j.

var CPNumberFormatterMaximumFractionDigitsKey = @"@"CPNumberFormatterMaximumFractionDigitsKey"

Definition at line 289 of file CPNumberFormatter.j.

var CPNumberFormatterMaximumKey = @"@"CPNumberFormatterMaximumKey"

Definition at line 291 of file CPNumberFormatter.j.

var CPNumberFormatterMinimumFractionDigitsKey = @"@"CPNumberFormatterMinimumFractionDigitsKey"

Definition at line 288 of file CPNumberFormatter.j.

var CPNumberFormatterMinimumKey = @"@"CPNumberFormatterMinimumKey"

Definition at line 290 of file CPNumberFormatter.j.

CPNumberFormatterNoStyle = 0

Definition at line 25 of file CPNumberFormatter.j.

CPNumberFormatterPercentStyle = 3

Definition at line 28 of file CPNumberFormatter.j.

CPNumberFormatterRoundCeiling = CPRoundUp

Definition at line 32 of file CPNumberFormatter.j.

CPNumberFormatterRoundDown = CPRoundDown

Definition at line 34 of file CPNumberFormatter.j.

CPNumberFormatterRoundFloor = CPRoundDown

Definition at line 33 of file CPNumberFormatter.j.

CPNumberFormatterRoundHalfDown = _CPRoundHalfDown

Definition at line 37 of file CPNumberFormatter.j.

CPNumberFormatterRoundHalfEven = CPRoundBankers

Definition at line 36 of file CPNumberFormatter.j.

CPNumberFormatterRoundHalfUp = CPRoundPlain

Definition at line 38 of file CPNumberFormatter.j.

var CPNumberFormatterRoundingModeKey = @"@"CPNumberFormatterRoundingModeKey"

Definition at line 292 of file CPNumberFormatter.j.

CPNumberFormatterRoundUp = CPRoundUp

Definition at line 35 of file CPNumberFormatter.j.

CPNumberFormatterScientificStyle = 4

Definition at line 29 of file CPNumberFormatter.j.

CPNumberFormatterSpellOutStyle = 5

Definition at line 30 of file CPNumberFormatter.j.

var CPNumberFormatterStyleKey = @"@"CPNumberFormatterStyleKey"

Definition at line 287 of file CPNumberFormatter.j.

var NumberRegex = new RegExp('(-)?(\\d*)(\\.(\\d*))?')

Definition at line 40 of file CPNumberFormatter.j.