number property

number property

Gets or sets the display format of numbers and dates. The formatting patterns are different for different regions.

Remarks

For example, the formatting patterns represented by numbers for en_US region:

ValueTypeFormat String
0General
1Decimal
2Decimal
3Decimal
4Decimal
5Currency
6Currency
7Currency
8Currency
9Percentage
10Percentage
11Scientific
12Fraction
13Fraction
14Date
15Date
16Date
17Date
18Time
19Time
20Time
21Time
22Time
37Accounting
38Accounting
39Accounting
40Accounting
41Accounting
42Currency
43Accounting
44Currency
45Time
46Time
47Time
48Scientific
49Text

Definition:

@property
def number(self):
    ...
@number.setter
def number(self, value):
    ...

See Also