Win32 API 日本語リファレンス
ホームGlobalization › UNumberFormatStyle

UNumberFormatStyle

列挙型
基底型i4

メンバー 19

名前10進16進
UNUM_PATTERN_DECIMAL00x0
UNUM_DECIMAL10x1
UNUM_CURRENCY20x2
UNUM_PERCENT30x3
UNUM_SCIENTIFIC40x4
UNUM_SPELLOUT50x5
UNUM_ORDINAL60x6
UNUM_DURATION70x7
UNUM_NUMBERING_SYSTEM80x8
UNUM_PATTERN_RULEBASED90x9
UNUM_CURRENCY_ISO100xA
UNUM_CURRENCY_PLURAL110xB
UNUM_CURRENCY_ACCOUNTING120xC
UNUM_CASH_CURRENCY130xD
UNUM_DECIMAL_COMPACT_SHORT140xE
UNUM_DECIMAL_COMPACT_LONG150xF
UNUM_CURRENCY_STANDARD160x10
UNUM_DEFAULT10x1
UNUM_IGNORE00x0

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 0
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,
}
#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