ホーム › Globalization › UNumberFormatStyle
UNumberFormatStyle
列挙型メンバー 19
| 名前 | 10進 | 16進 |
|---|---|---|
| UNUM_PATTERN_DECIMAL | 0 | 0x0 |
| UNUM_DECIMAL | 1 | 0x1 |
| UNUM_CURRENCY | 2 | 0x2 |
| UNUM_PERCENT | 3 | 0x3 |
| UNUM_SCIENTIFIC | 4 | 0x4 |
| UNUM_SPELLOUT | 5 | 0x5 |
| UNUM_ORDINAL | 6 | 0x6 |
| UNUM_DURATION | 7 | 0x7 |
| UNUM_NUMBERING_SYSTEM | 8 | 0x8 |
| UNUM_PATTERN_RULEBASED | 9 | 0x9 |
| UNUM_CURRENCY_ISO | 10 | 0xA |
| UNUM_CURRENCY_PLURAL | 11 | 0xB |
| UNUM_CURRENCY_ACCOUNTING | 12 | 0xC |
| UNUM_CASH_CURRENCY | 13 | 0xD |
| UNUM_DECIMAL_COMPACT_SHORT | 14 | 0xE |
| UNUM_DECIMAL_COMPACT_LONG | 15 | 0xF |
| UNUM_CURRENCY_STANDARD | 16 | 0x10 |
| UNUM_DEFAULT | 1 | 0x1 |
| UNUM_IGNORE | 0 | 0x0 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum UNumberFormatStyle : int {
UNUM_PATTERN_DECIMAL = 0,
UNUM_DECIMAL = 1,
UNUM_CURRENCY = 2,
UNUM_PERCENT = 3,
UNUM_SCIENTIFIC = 4,
UNUM_SPELLOUT = 5,
UNUM_ORDINAL = 6,
UNUM_DURATION = 7,
UNUM_NUMBERING_SYSTEM = 8,
UNUM_PATTERN_RULEBASED = 9,
UNUM_CURRENCY_ISO = 10,
UNUM_CURRENCY_PLURAL = 11,
UNUM_CURRENCY_ACCOUNTING = 12,
UNUM_CASH_CURRENCY = 13,
UNUM_DECIMAL_COMPACT_SHORT = 14,
UNUM_DECIMAL_COMPACT_LONG = 15,
UNUM_CURRENCY_STANDARD = 16,
UNUM_DEFAULT = 1,
UNUM_IGNORE = 0
} UNumberFormatStyle;public enum UNumberFormatStyle : int
{
UNUM_PATTERN_DECIMAL = 0,
UNUM_DECIMAL = 1,
UNUM_CURRENCY = 2,
UNUM_PERCENT = 3,
UNUM_SCIENTIFIC = 4,
UNUM_SPELLOUT = 5,
UNUM_ORDINAL = 6,
UNUM_DURATION = 7,
UNUM_NUMBERING_SYSTEM = 8,
UNUM_PATTERN_RULEBASED = 9,
UNUM_CURRENCY_ISO = 10,
UNUM_CURRENCY_PLURAL = 11,
UNUM_CURRENCY_ACCOUNTING = 12,
UNUM_CASH_CURRENCY = 13,
UNUM_DECIMAL_COMPACT_SHORT = 14,
UNUM_DECIMAL_COMPACT_LONG = 15,
UNUM_CURRENCY_STANDARD = 16,
UNUM_DEFAULT = 1,
UNUM_IGNORE = 0,
}Public Enum UNumberFormatStyle As Integer
UNUM_PATTERN_DECIMAL = 0
UNUM_DECIMAL = 1
UNUM_CURRENCY = 2
UNUM_PERCENT = 3
UNUM_SCIENTIFIC = 4
UNUM_SPELLOUT = 5
UNUM_ORDINAL = 6
UNUM_DURATION = 7
UNUM_NUMBERING_SYSTEM = 8
UNUM_PATTERN_RULEBASED = 9
UNUM_CURRENCY_ISO = 10
UNUM_CURRENCY_PLURAL = 11
UNUM_CURRENCY_ACCOUNTING = 12
UNUM_CASH_CURRENCY = 13
UNUM_DECIMAL_COMPACT_SHORT = 14
UNUM_DECIMAL_COMPACT_LONG = 15
UNUM_CURRENCY_STANDARD = 16
UNUM_DEFAULT = 1
UNUM_IGNORE = 0
End Enumimport enum
class UNumberFormatStyle(enum.IntEnum):
UNUM_PATTERN_DECIMAL = 0
UNUM_DECIMAL = 1
UNUM_CURRENCY = 2
UNUM_PERCENT = 3
UNUM_SCIENTIFIC = 4
UNUM_SPELLOUT = 5
UNUM_ORDINAL = 6
UNUM_DURATION = 7
UNUM_NUMBERING_SYSTEM = 8
UNUM_PATTERN_RULEBASED = 9
UNUM_CURRENCY_ISO = 10
UNUM_CURRENCY_PLURAL = 11
UNUM_CURRENCY_ACCOUNTING = 12
UNUM_CASH_CURRENCY = 13
UNUM_DECIMAL_COMPACT_SHORT = 14
UNUM_DECIMAL_COMPACT_LONG = 15
UNUM_CURRENCY_STANDARD = 16
UNUM_DEFAULT = 1
UNUM_IGNORE = 0// UNumberFormatStyle
pub const UNUM_PATTERN_DECIMAL: i32 = 0;
pub const UNUM_DECIMAL: i32 = 1;
pub const UNUM_CURRENCY: i32 = 2;
pub const UNUM_PERCENT: i32 = 3;
pub const UNUM_SCIENTIFIC: i32 = 4;
pub const UNUM_SPELLOUT: i32 = 5;
pub const UNUM_ORDINAL: i32 = 6;
pub const UNUM_DURATION: i32 = 7;
pub const UNUM_NUMBERING_SYSTEM: i32 = 8;
pub const UNUM_PATTERN_RULEBASED: i32 = 9;
pub const UNUM_CURRENCY_ISO: i32 = 10;
pub const UNUM_CURRENCY_PLURAL: i32 = 11;
pub const UNUM_CURRENCY_ACCOUNTING: i32 = 12;
pub const UNUM_CASH_CURRENCY: i32 = 13;
pub const UNUM_DECIMAL_COMPACT_SHORT: i32 = 14;
pub const UNUM_DECIMAL_COMPACT_LONG: i32 = 15;
pub const UNUM_CURRENCY_STANDARD: i32 = 16;
pub const UNUM_DEFAULT: i32 = 1;
pub const UNUM_IGNORE: i32 = 0;// UNumberFormatStyle
const (
UNUM_PATTERN_DECIMAL int32 = 0
UNUM_DECIMAL int32 = 1
UNUM_CURRENCY int32 = 2
UNUM_PERCENT int32 = 3
UNUM_SCIENTIFIC int32 = 4
UNUM_SPELLOUT int32 = 5
UNUM_ORDINAL int32 = 6
UNUM_DURATION int32 = 7
UNUM_NUMBERING_SYSTEM int32 = 8
UNUM_PATTERN_RULEBASED int32 = 9
UNUM_CURRENCY_ISO int32 = 10
UNUM_CURRENCY_PLURAL int32 = 11
UNUM_CURRENCY_ACCOUNTING int32 = 12
UNUM_CASH_CURRENCY int32 = 13
UNUM_DECIMAL_COMPACT_SHORT int32 = 14
UNUM_DECIMAL_COMPACT_LONG int32 = 15
UNUM_CURRENCY_STANDARD int32 = 16
UNUM_DEFAULT int32 = 1
UNUM_IGNORE int32 = 0
)const
UNUM_PATTERN_DECIMAL = 0;
UNUM_DECIMAL = 1;
UNUM_CURRENCY = 2;
UNUM_PERCENT = 3;
UNUM_SCIENTIFIC = 4;
UNUM_SPELLOUT = 5;
UNUM_ORDINAL = 6;
UNUM_DURATION = 7;
UNUM_NUMBERING_SYSTEM = 8;
UNUM_PATTERN_RULEBASED = 9;
UNUM_CURRENCY_ISO = 10;
UNUM_CURRENCY_PLURAL = 11;
UNUM_CURRENCY_ACCOUNTING = 12;
UNUM_CASH_CURRENCY = 13;
UNUM_DECIMAL_COMPACT_SHORT = 14;
UNUM_DECIMAL_COMPACT_LONG = 15;
UNUM_CURRENCY_STANDARD = 16;
UNUM_DEFAULT = 1;
UNUM_IGNORE = 0;// UNumberFormatStyle
pub const UNUM_PATTERN_DECIMAL: i32 = 0;
pub const UNUM_DECIMAL: i32 = 1;
pub const UNUM_CURRENCY: i32 = 2;
pub const UNUM_PERCENT: i32 = 3;
pub const UNUM_SCIENTIFIC: i32 = 4;
pub const UNUM_SPELLOUT: i32 = 5;
pub const UNUM_ORDINAL: i32 = 6;
pub const UNUM_DURATION: i32 = 7;
pub const UNUM_NUMBERING_SYSTEM: i32 = 8;
pub const UNUM_PATTERN_RULEBASED: i32 = 9;
pub const UNUM_CURRENCY_ISO: i32 = 10;
pub const UNUM_CURRENCY_PLURAL: i32 = 11;
pub const UNUM_CURRENCY_ACCOUNTING: i32 = 12;
pub const UNUM_CASH_CURRENCY: i32 = 13;
pub const UNUM_DECIMAL_COMPACT_SHORT: i32 = 14;
pub const UNUM_DECIMAL_COMPACT_LONG: i32 = 15;
pub const UNUM_CURRENCY_STANDARD: i32 = 16;
pub const UNUM_DEFAULT: i32 = 1;
pub const UNUM_IGNORE: i32 = 0;const
UNUM_PATTERN_DECIMAL* = 0
UNUM_DECIMAL* = 1
UNUM_CURRENCY* = 2
UNUM_PERCENT* = 3
UNUM_SCIENTIFIC* = 4
UNUM_SPELLOUT* = 5
UNUM_ORDINAL* = 6
UNUM_DURATION* = 7
UNUM_NUMBERING_SYSTEM* = 8
UNUM_PATTERN_RULEBASED* = 9
UNUM_CURRENCY_ISO* = 10
UNUM_CURRENCY_PLURAL* = 11
UNUM_CURRENCY_ACCOUNTING* = 12
UNUM_CASH_CURRENCY* = 13
UNUM_DECIMAL_COMPACT_SHORT* = 14
UNUM_DECIMAL_COMPACT_LONG* = 15
UNUM_CURRENCY_STANDARD* = 16
UNUM_DEFAULT* = 1
UNUM_IGNORE* = 0enum UNumberFormatStyle : int {
UNUM_PATTERN_DECIMAL = 0,
UNUM_DECIMAL = 1,
UNUM_CURRENCY = 2,
UNUM_PERCENT = 3,
UNUM_SCIENTIFIC = 4,
UNUM_SPELLOUT = 5,
UNUM_ORDINAL = 6,
UNUM_DURATION = 7,
UNUM_NUMBERING_SYSTEM = 8,
UNUM_PATTERN_RULEBASED = 9,
UNUM_CURRENCY_ISO = 10,
UNUM_CURRENCY_PLURAL = 11,
UNUM_CURRENCY_ACCOUNTING = 12,
UNUM_CASH_CURRENCY = 13,
UNUM_DECIMAL_COMPACT_SHORT = 14,
UNUM_DECIMAL_COMPACT_LONG = 15,
UNUM_CURRENCY_STANDARD = 16,
UNUM_DEFAULT = 1,
UNUM_IGNORE = 0,
}#define global UNUM_PATTERN_DECIMAL 0x0
#define global UNUM_DECIMAL 0x1
#define global UNUM_CURRENCY 0x2
#define global UNUM_PERCENT 0x3
#define global UNUM_SCIENTIFIC 0x4
#define global UNUM_SPELLOUT 0x5
#define global UNUM_ORDINAL 0x6
#define global UNUM_DURATION 0x7
#define global UNUM_NUMBERING_SYSTEM 0x8
#define global UNUM_PATTERN_RULEBASED 0x9
#define global UNUM_CURRENCY_ISO 0xA
#define global UNUM_CURRENCY_PLURAL 0xB
#define global UNUM_CURRENCY_ACCOUNTING 0xC
#define global UNUM_CASH_CURRENCY 0xD
#define global UNUM_DECIMAL_COMPACT_SHORT 0xE
#define global UNUM_DECIMAL_COMPACT_LONG 0xF
#define global UNUM_CURRENCY_STANDARD 0x10
#define global UNUM_DEFAULT 0x1
#define global UNUM_IGNORE 0x0