hfMAs‖

HKUYG‖Number Format Codes

As75i‖Number format codes can consist of up to four sections separated by a semicolon (;).

  1. u5mJD‖In a number format code with two sections, the first section applies to positive values and zero, and the second section applies to negative values.

  2. Djpoy‖In a number format code with three sections, the first section applies to positive values, the second section to negative values, and the third section to the value zero.

  3. Ear5G‖You can also assign conditions to the three sections, so that the format is only applied if a condition is met.

  4. xZGG9‖Fourth section applies if the content is not a value, but some text. Content is represented by an at sign (@).

pQGkC‖Decimal Places and Significant Digits

C9sBL‖Use zero (0), the number sign (#) or the question mark (?) as placeholders in your number format code to represent numbers. The # only displays significant digits, while the 0 displays zeroes if there are fewer digits in the number than in the number format. The ? works as the # but adds a space character to keep decimal alignment if there is a hidden non-significant zero.

A29X3‖Use question marks (?), zeroes (0) or number signs (#) to represent the number of digits to include in the numerator and the denominator of a fraction. Fractions that do not fit the pattern that you define are displayed as floating point numbers.

7CTWF‖If a number contains more digits to the right of the decimal delimiter than there are placeholders in the format, the number is rounded accordingly. If a number contains more digits to the left of the decimal delimiter than there are placeholders in the format, the entire number is displayed. Use the following list as a guide for using placeholders when you create a number format code:

LaFHj‖Placeholders

kydR4‖Explanation

#

7GtC4‖Does not display extra zeros.

?

QFdAK‖Displays space characters instead of extra zeros.

uF66f‖0 (Zero)

AAoU2‖Displays extra zeros if the number has less places than zeros in the format.


DVFU4‖Examples

CnDNL‖Number Format

xXYBg‖Format Code

v2KTa‖3456.78 as 3456.8

####.#

6VBAJ‖9.9 as 9.900

#.000

NG8pN‖13 as 13.0 and 1234.567 as 1234.57

#.0#

X7GCy‖5.75 as 5 3/4 and 6.3 as 6 3/10

# ???/???

yX5bf‖.5 as 0.5

0.##

jwDq6‖.5 as 0.5   (with two extra spaces at the end)

0.???


UFCzW‖Thousands Separator

YYjyi‖Depending on your language setting, you can use a comma, a period or a blank as a thousands separator. You can also use the separator to reduce the size of the number that is displayed by a multiple of 1000 for each separator. The examples below use comma as thousands separator:

CMxqA‖Number Format

TBXGD‖Format Code

zsaC6‖15000 as 15,000

#,###

a5uto‖16000 as 16

#,


8rPPF‖Including Text in Number Format Codes

GS38D‖Text and Numbers

RFdEG‖To include text in a number format that is applied to a cell containing numbers, place a double quotation mark (") in front of and behind the text, or a backslash (\) before a single character. For example, enter #.# "meters" to display "3.5 meters" or #.# \m to display "3.5 m". If you use space as thousands separator, you need to insert spaces between quotes in the previous examples: #.#" meters" or #.#\ \m to get the correct result.

nHFUw‖Text and Text

kDCph‖To include text in a number format that is applied to a cell that might contain text, enclose the text by double quotation marks (" "), and then add an at sign (@). For example, enter "Total for "@ to display "Total for December".

VfcKW‖Spaces

Cee6G‖To use a character to define the width of a space in a number format, type an underscore (_) followed by the character. The width of the space varies according to the width of the character that you choose. For example, _M creates a wider space than _i.

7AkYm‖To fill free space with a given character, use an asterisk (*) followed by this character. For instance:

*\0

7fTxt‖will display integer value (0) preceded by as many as needed backslash characters (\) to fill column width. For accounting representation, you may left align currency symbol with a format similar to:

$_-* 0.--;$-* 0.--;$_-* -

GHJRC‖Color

h2xQq‖To set the color of a section of a number format code, insert one of the following color names in square brackets [ ]:

CYAN

GREEN

BLACK

BLUE

MAGENTA

RED

WHITE

YELLOW


hPinb‖Conditions

UFeFg‖Conditional Brackets

LUAvj‖You can define a number format so that it only applies when the condition that you specify is met. Conditions are enclosed by square brackets [ ].

TE8Cf‖You can use any combination of numbers and the <, <=, >, >=, = and <> operators.

EFbUr‖For example, if you want to apply different colors to different temperature data, enter:

[BLUE][<0]#.0 "°C";[RED][>30]#.0 "°C";[BLACK]#.0 "°C"

zETGD‖All temperatures below zero are blue, temperatures between 0 and 30 °C are black, and temperatures higher than 30 °C are red.

N9GV7‖Positive and Negative Numbers

DgKsK‖To define a number format that adds a different text to a number depending on if the number is positive, negative, or equal to zero, use the following format:

kHCYW‖"plus" 0;"minus" 0;"null" 0

vCUwx‖Percentages, Scientific Notation and Fraction Representation

aVTBf‖Percentages

tCoWM‖To display numbers as percentages, add the percent sign (%) to the number format.

B4yFw‖Scientific Notation

hQjE8‖Scientific notation lets you write very large numbers or very small fractions in a compact form. For example, in scientific notation, 650000 is written as 6.5 x 105, and 0.000065 as 6.5 x 10-5. In LibreOfficeDev, these numbers are written as 6.5E+5 and 6.5E-5, respectively. To create a number format that displays numbers using scientific notation, enter a # or 0, and then one of the following codes E-, E+, e- or e+. If sign is omitted after E or e, it won't appear for positive value of exponent. To get engineering notation, enter 3 digits (0 or #) in the integer part: ###.##E+00 for instance.

D5eEE‖Fraction Representation

24wD7‖To represent a value as a fraction, format consists of two or three parts: integer optional part, numerator and denominator. Integer and numerator are separated by a blank or any quoted text. Numerator and denominator are separated by a slash character. Each part can consist of a combination of #, ? and 0 as placeholders.

rMbFX‖Denominator is calculated to get the nearest value of the fraction with respect to the number of placeholders. For example, PI value is represented as 3 16/113 with format:

# ?/???

Ao7TR‖Denominator value can also be forced to the value replacing placeholders. For example, to get PI value as a multiple of 1/16th (i.e. 50/16), use format:

?/16

JGrQ3‖Number Format Codes of Currency Formats

VarjN‖The default currency format for the cells in your spreadsheet is determined by the regional setting of your operating system. If you want, you can apply a custom currency symbol to a cell. For example, enter #,##0.00 € to display 4.50 € (Euros).

Z6dMA‖You can also specify the locale setting for the currency by entering the locale code for the country after the symbol. For example, [$€-407] represents Euros in Germany. To view the locale code for a country, select the country in the Language list on the Numbers tab of the Format Cells dialog.

note

WCJhc‖The format code for currencies uses the form [$xxx-nnn], where xxx is the currency symbol, and nnn the country code. Special banking symbols, such as EUR (for Euro), do not require the country code. The currency format is not dependent on the language that you select in the Language box.


D8Cj4‖Date and Time Formats

warning

6LMA9‖Microsoft Excel wrongly assumes year 1900 to be a leap year and considers the inexistent day of 1900-02-29 as valid in date calculations. Dates prior to 1900-03-01 are therefore different in Excel and Calc.


75JTM‖Date Formats

R6bCH‖To display days, months and years, use the following number format codes.

warning

RkNWV‖Not all format codes give meaningful results for all languages.


F9dWC‖Format

Bw4xc‖Format Code

6r75s‖Month as 3.

M

GyNux‖Month as 03.

MM

EpvDr‖Month as Jan-Dec

MMM

Sk7qG‖Month as January-December

MMMM

hciJf‖First letter of Name of Month

MMMMM

UFCAA‖Day as 2

D

ePPni‖Day as 02

DD

xA7uB‖Day as Sun-Sat

NN or DDD or AAA

PunAi‖Day as Sunday to Saturday

NNN or DDDD or AAAA

iTntt‖Day followed by comma, as in "Sunday,"

NNNN

W5Gsh‖Year as 00-99

YY

M2xtN‖Year as 1900-2078

YYYY

HCipn‖Calendar week

WW

9ZDUy‖Quarterly as Q1 to Q4

Q

GxgM6‖Quarterly as 1st quarter to 4th quarter

QQ

r78vj‖Era, abbreviation. On the Japanese Gengou calendar, single character (possible values are: M, T, S, H)

G

T8HQs‖Era, abbreviation

GG

gDAGD‖Era, full name

GGG

qpZjJ‖Number of the year within an era, short format

E

TGuaC‖Number of the year within an era, long format

Akj7F‖EE or R

aHmvp‖Era, full name and year

u9zCF‖RR or GGGEE


VjRXz‖The above listed formatting codes work with your language version of LibreOfficeDev. However, when you need to switch the locale of LibreOfficeDev to another locale, you need to know the formatting codes used in that other locale.

zz3PF‖For example, if your software is set to an English locale, and you want to format a year with four digits, you enter YYYY as a formatting code. When you switch to a German locale, you must use JJJJ instead. The following table lists only the localized differences.

FAbZk‖Locale

jB5Bi‖Year

6tbTY‖Month

GpvCp‖Day

gtSiF‖Hour

6aB8n‖Day Of Week

dpsPG‖Era

English - en

99TwG‖and all not listed locales

Y

M

D

H

A

G

LTCmD‖German - de

J

T

meWBR‖Netherlands - nl

J

U

nKBzd‖French - fr

A

J

O

HsBvp‖Italian - it

A

G

O

X

HDGAa‖Portuguese - pt

A

O

muf83‖Spanish - es

A

O

fuE5o‖Danish - da

T

NBMVr‖Norwegian - no, nb, nn

T

jd9hU‖Swedish - sv

T

BC2sF‖Finnish - fi

V

K

P

T


GYBe5‖Entering Dates

tBCBh‖To enter a date in a cell, use the Gregorian calendar format. For example, in an English locale, enter 1/2/2002 for Jan 2, 2002.

G3QCz‖All date formats are dependent on the locale that is set in - Languages and Locales - General. For example, if your locale is set to 'Japanese', then the Gengou calendar is used. The default date format in LibreOfficeDev uses the Gregorian Calendar.

AQoi2‖To specify a calendar format that is independent of the locale, add a modifier in front of the date format. For example, to display a date using the Jewish calendar format in a non-Hebrew locale, enter: [~jewish]DD/MM/YYYY.

D44yB‖The specified calendar is exported to Microsoft Excel using extended LCID. Extended LCID can also be used in the format string. It will be converted to a calendar modifier if it is supported. See Extended LCID section below.

z6s3R‖Modifier

GKtQi‖Calendar

[~buddhist]

aGEVj‖Thai Buddhist Calendar

[~gengou]

ZRsvq‖Japanese Gengou Calendar

[~gregorian]

mb2ox‖Gregorian Calendar

jKCwE‖[~hanja] or [~hanja_yoil]

38vuU‖Korean Calendar

[~hijri]

FZV2c‖Arabic Islamic Calendar

[~jewish]

JApNC‖Jewish Calendar

[~ROC]

8KfNm‖Republic Of China Calendar


D6TqX‖

mcqv6‖

W8yHM‖Time Formats

7M9D5‖To display hours, minutes and seconds use the following number format codes:

UC6iV‖Format

q5kyp‖Format Code

Ym7yB‖Hours as 0-23

H

HNm45‖Hours as 00-23

HH

D8xze‖Hours as 00 up to more than 23

[HH]

QiFcS‖Minutes as 0-59

M

KvuvV‖Minutes as 00-59

MM

KwXRq‖Minutes as 00 up to more than 59

[MM]

43JVG‖Seconds as 0-59

S

wLX8r‖Seconds as 00-59

SS

eKYdk‖Seconds as 00 up to more than 59

[SS]


note

SRYoN‖To display seconds as fractions, add the decimal delimiter to your number format code. For example, enter HH:MM:SS.00 to display the time as "01:02:03.45".


DjD4B‖Minute time formats M and MM must be used in combination with hour or second time formats to avoid confusion with month date format.

f9vZ5‖If a time is entered in the form 02:03.45 or 01:02:03.45 or 25:01:02, the following formats are assigned if no other time format has been specified: MM:SS.00 or [HH]:MM:SS.00 or [HH]:MM:SS

biREB‖Displaying Numbers Using Native Characters

tjkP8‖NatNum modifiers

Dg3Aq‖To display numbers using native number characters, use a [NatNum1], [NatNum2], ..., [NatNum11] modifier at the beginning of a number format codes.

yeeyG‖To spell out numbers in various number, currency and date formats, use a [NatNum12] modifier with the chosen arguments at the beginning of a number format code. See NatNum12 section below.

qJYCC‖The [NatNum1] modifier always uses a one to one character mapping to convert numbers to a string that matches the native number format code of the corresponding locale. The other modifiers produce different results if they are used with different locales. A locale can be the language and the territory for which the format code is defined, or a modifier such as [$-yyy] that follows the native number modifier. In this case, yyy is the hexadecimal MS-LCID that is also used in currency format codes. For example, to display a number using Japanese short Kanji characters in an English US locale, use the following number format code:

[NatNum1][$-411]0

AuRds‖In the following list, the Microsoft Excel [DBNumX] modifier that corresponds to LibreOfficeDev [NatNum] modifier is shown. If you want, you can use a [DBNumX] modifier instead of [NatNum] modifier for your locale. Whenever possible, LibreOfficeDev internally maps [DBNumX] modifiers to [NatNumN] modifiers.

DtSwp‖Displaying dates using [NatNum] modifiers can have a different effect than displaying other types of numbers. Such effects are indicated by 'CAL: '. For example, 'CAL: 1/4/4' indicates that the year is displayed using the [NatNum1] modifier, while the day and month are displayed using the [NatNum4] modifier. If 'CAL' is not specified, the date formats for that particular modifier are not supported.

[NatNum0]

A475j‖Try to convert any native number string to ASCII Arabic digits. If already ASCII, it remains ASCII.

[NatNum1]

DUGh8‖Transliterations

KCZYL‖Native Number Characters

DBNumX

ZYyAn‖Date Format

CzCD5‖Chinese

3Ty4R‖Chinese lower case characters

CAL: 1/7/7 [DBNum1]

TFxzm‖Japanese

Z5o8M‖short Kanji characters

[DBNum1]

CAL: 1/4/4 [DBNum1]

LAnX2‖Korean

7q8qD‖Korean lower case characters

[DBNum1]

CAL: 1/7/7 [DBNum1]

VnRCA‖Hebrew

kNsKK‖Hebrew characters

jpCy6‖Arabic

mjwru‖Arabic-Indic characters

thuwM‖Thai

cjFCb‖Thai characters

wVHyk‖Hindi

Fb4uU‖Indic-Devanagari characters

C7jmE‖Odia

BGNPR‖Odia (Oriya) characters

cTDAT‖Marathi

6CVGh‖Indic-Devanagari characters

v7UQB‖Bengali

hxhWA‖Bengali characters

hAjjB‖Punjabi

4vDbr‖Punjabi (Gurmukhi) characters

9CedG‖Gujarati

NLBD6‖Gujarati characters

ZxEiq‖Tamil

sD7CB‖Tamil characters

dGCXf‖Telugu

M8GPf‖Telugu characters

M64g6‖Kannada

fCADD‖Kannada characters

mmiru‖Malayalam

vgDha‖Malayalam characters

NJYBZ‖Lao

BTmiF‖Lao characters

aBvbo‖Tibetan

tDdtS‖Tibetan characters

4SXbw‖Burmese

6DaaV‖Burmese (Myanmar) characters

ohFDe‖Khmer

fD4MT‖Khmer (Cambodian) characters

Vp4tN‖Mongolian

Kipcb‖Mongolian characters

7gbcx‖Nepali

DPtPX‖Indic-Devanagari characters

kyXXG‖Dzongkha

YhFtu‖Tibetan characters

EmcWM‖Farsi

Ej54b‖East Arabic-Indic characters

EGckg‖Church Slavic

GohEX‖Cyrillic characters


[NatNum2]

w2yuq‖Transliterations

DCn3E‖Native Number Characters

DBNumX

UjmXi‖Date Format

qErMQ‖Chinese

vESFE‖Chinese upper case characters

CAL 2/8/8 [DBNum2]

ukF8K‖Japanese

yZeUT‖traditional Kanji characters

CAL 2/5/5 [DBNum2]

jqCCy‖Korean

r6CVc‖Korean upper case characters

[DBNum2]

CAL 2/8/8 [DBNum2]

jS8SJ‖Hebrew

gR3YQ‖Hebrew numbering


[NatNum3]

pECCi‖Transliterations

L84Dz‖Native Number Characters

DBNumX

DDkD8‖Date Format

Giy4m‖Chinese

HXRMB‖fullwidth Arabic digits

CAL: 3/3/3 [DBNum3]

KRcBC‖Japanese

BDo9F‖fullwidth Arabic digits

CAL: 3/3/3 [DBNum3]

JgFyt‖Korean

vQGuS‖fullwidth Arabic digits

[DBNum3]

CAL: 3/3/3 [DBNum3]


[NatNum4]

zvZFB‖Transliterations

YDEFL‖Native Number Characters

DBNumX

Qe3cy‖Date Format

YSCuJ‖Chinese

2QdoW‖lower case text

[DBNum1]

AW8yw‖Japanese

32jAw‖modern long Kanji text

[DBNum2]

7LUBa‖Korean

F5mdY‖formal lower case text


[NatNum5]

u9aUM‖Transliterations

tWfmf‖Native Number Characters

DBNumX

XcUUJ‖Date Format

S9n7N‖Chinese

DwSzA‖Chinese upper case text

[DBNum2]

ZNDDg‖Japanese

GwVYY‖traditional long Kanji text

[DBNum3]

y2CjD‖Korean

2Hp4X‖formal upper case text


[NatNum6]

aAydw‖Transliterations

E4Cri‖Native Number Characters

DBNumX

EyQcV‖Date Format

ARmCe‖Chinese

DLfBr‖fullwidth text

[DBNum3]

oNdqe‖Japanese

Cb9Gh‖fullwidth text

Afj6V‖Korean

EpzTf‖fullwidth text


[NatNum7]

btiwD‖Transliterations

k5tpQ‖Native Number Characters

DBNumX

4HSWX‖Date Format

3oxJg‖Chinese

fVSKG‖short lower case text

g2bQD‖Japanese

CxRSQ‖modern short Kanji text

K2x7G‖Korean

DZABY‖informal lower case text


[NatNum8]

aAGvW‖Transliterations

GVoQL‖Native Number Characters

DBNumX

nffxe‖Date Format

kDGAh‖Chinese

hdRoG‖short upper case text

Zd3t6‖Japanese

cjAkQ‖traditional short Kanji text

[DBNum4]

zbzXg‖Korean

94DSB‖informal upper case text


[NatNum9]

QtrT8‖Transliterations

5LcQH‖Native Number Characters

DBNumX

aFmmC‖Date Format

n2Fmn‖Korean

ny7Zh‖Hangul characters


[NatNum10]

BYP83‖Transliterations

GBrDD‖Native Number Characters

DBNumX

mspKc‖Date Format

kJE6i‖Korean

G2D3Q‖formal Hangul text

[DBNum4]

CAL 9/11/11 [DBNum4]


[NatNum11]

Jd5Ly‖Transliterations

Bj6Lm‖Native Number Characters

DBNumX

sMT7t‖Date Format

bEBdw‖Korean

6qjcA‖informal Hangul text


XUo3G‖Extended LCID

EjbjU‖If compatible, native numbering and calendar are exported to Microsoft Excel using extended LCID. Extended LCID can also be used in string format instead of NatNum modifier.

aNoM6‖Extended LCID consists of 8 hexadecimal digits: [$-NNCCLLLL], with 2 first digits NN for native numerals, CC for calendar and LLLL for LCID code. For instance, [$-0D0741E] will be converted to [NatNum1][$-41E][~buddhist]: Thai numerals (0D) with Buddhist calendar (07) in Thai locale (041E).

p7udq‖Native Numerals

4AWR6‖Two first digits NN represents native numerals:

NN

Xg4PP‖Numeral

25uYC‖Representation

4QivF‖Compatible LCID

01

GN9La‖Arabic

1234567890

rSBmQ‖all

02

gXWcN‖Eastern Arabic

١٢٣٤٥٦٧٨٩٠

401

1401, 3c01, 0c01, 801, 2c01, 3401, 3001, 1001, 1801, 2001, 4001, 2801, 1c01, 3801, 2401

03

YXAzv‖Persian

۱۲۳۴۵۶۷۸۹۰

429

04

eErRK‖Devanagari

१२३४५६७८९०

439

44E, 461, 861

05

DgYBL‖Bengali

১২৩৪৫৬৭৮৯০

445

845

06

Vk2ZC‖Punjabi

੧੨੩੪੫੬੭੮੯੦

446

07

CB7Db‖Gujarati

૧૨૩૪૫૬૭૮૯૦

447

08

Eexyx‖Oriya

୧୨୩୪୫୬୭୮୯୦

448

09

9DaUV‖Tamil

௧௨௩௪௫௬௭௮௯0

449

849

0A

x4z4A‖Telugu

౧౨౩౪౫౬౭౮౯౦

44A

0B

xgDxQ‖Kannada

೧೨೩೪೫೬೭೮೯೦

44B

0C

6AD4X‖Malayalam

൧൨൩൪൫൬൭൮൯൦

44C

0D

ayLgA‖Thai

๑๒๓๔๕๖๗๘๙๐

41E

0E

skrmK‖Lao

໑໒໓໔໕໖໗໘໙໐

454

0F

Aqrmf‖Tibetan

༡༢༣༤༥༦༧༨༩༠

851

10

AhenQ‖Burmese

၁၂၃၄၅၆၇၈၉၀

455

11

3iXqP‖Tigrina

፩፪፫፬፭፮፯፰፱0

473

873

12

HcBZc‖Khmer

១២៣៤៥៦៧៨៩០

453

13

TjKYV‖Mongolian

᠑᠒᠓᠔᠕᠖᠗᠘᠙᠐

C50

850

1B

6Mu84‖Japanese

一二三四五六七八九〇

411

1C

QzVEU‖(financial)

壱弐参四伍六七八九〇

1D

Y2aTe‖(fullwidth Arabic)

1234567890

1E

9FDev‖Chinese - simplified

一二三四五六七八九○

804

1004, 7804

1F

ZEikM‖(financial)

壹贰叁肆伍陆柒捌玖零

20

XHfHM‖(fullwidth Arabic)

1234567890

21

c6qfT‖Chinese - traditional

一二三四五六七八九○

C04

1404

22

k4L5D‖(financial)

壹貳參肆伍陸柒捌玖零

23

NxSgB‖(fullwidth Arabic)

1234567890

24

yK33c‖Korean

一二三四五六七八九0

812

25

5AqJ4‖(financial)

壹貳參四伍六七八九零

26

BTAgB‖(fullwidth Arabic)

1234567890

27

zRDz3‖Korean - Hangul

일이삼사오육칠팔구영


iCsB5‖Calendar

RDZUN‖Two next digits CC are for calendar code. Each calendar is only valid for some LCID.

CC

n4doZ‖Calendar

Cs5v7‖Example (YYYY-MM-DD)

5nFeM‖Supported LCID

00

BFiYm‖Gregorian

2016-08-31

J7MpB‖All

03

px34L‖Gengou

28-08-31

ZA2Hf‖411 (Japanese)

05

ZSLrR‖Unknown

4349-08-31

RCjVf‖Unsupported

dMAyG‖06 or 17

GoDmD‖Hijri

1437-11-28

XvBCp‖401 (Arabic - Saudi Arabia), 1401 (Arabic - Algeria), 3c01 (Arabic - Bahrain), 0c01 (Arabic - Egypt), 801 (Arabic - Iraq), 2c01 (Arabic - Jordan), 3401 (Arabic - Kuwait), 3001 (Arabic - Lebanon), 1001 (Arabic - Libya), 1801 (Arabic - Morocco), 2001 (Arabic - Oman), 4001 (Arabic - Qatar), 2801 (Arabic - Syria), 1c01 (Arabic - Tunisia), 3801 (Arabic - U.A.E.), 2401 (Arabic - Yemen) and 429 (Farsi)

07

8EXNk‖Buddhist

2559-08-31

GGAoN‖454 (Lao), 41E (Thai)

08

5gZNF‖Jewish

5776-05-27

BgCp9‖40D (Hebrew)

10

5XGvr‖Indian

1938-06-09

mQHYZ‖Unsupported

B4PRN‖0E, 0F, 11, 12 or 13

WM2Xw‖Unknown

2016-07-29

BjUhe‖Unsupported

LjwrT‖Unsupported

DTCLN‖Hanja

kArG9‖412 (Korean)

7gqwq‖Unsupported

9VCVC‖ROC

0105-08-31

bpcCC‖404 (Chinese - Taiwan)


KjubE‖NatNum12 modifier

dnUBw‖To spell out numbers in various number, currency and date formats, use a [NatNum12] modifier with the chosen arguments at the beginning of a number format code.

pEAbi‖Common NatNum12 formatting examples

p2j4P‖Formatting code

7CHrT‖Explanation

qMECD‖[NatNum12]

59Z4d‖Spell out as cardinal number: 1 → one

uSj7Y‖[NatNum12 ordinal]

RxCdm‖Spell out as ordinal number: 1 → first

3FrmK‖[NatNum12 ordinal-number]

PARVJ‖Spell out as ordinal indicator: 1 → 1st

MAPGe‖[NatNum12 capitalize]

9sGxx‖Spell out with capitalization, as cardinal number: 1 → One

fdavN‖[NatNum12 upper ordinal]

MWJCJ‖Spell out in upper case, as ordinal number: 1 → FIRST

Av6Up‖[NatNum12 title]

G65Vr‖Spell out in title case, as cardinal number: 101 → Hundred One

wxymX‖[NatNum12 USD]

GpF26‖Spell out as a money amount of a given currency specified by 3-letter ISO code: 1 → one U.S. dollar

dC9Yz‖[NatNum12 D=ordinal-number]D" of "MMMM

KWJXy‖Spell out as a date in format "1st of May"

AjRUC‖[NatNum12 YYYY=title year,D=capitalize ordinal]D" of "MMMM, YYYY

JCU7s‖Spell out as a date in format "First of May, Nineteen Ninety-nine"

6hJmz‖[NatNum12 MMM=upper]MMM-DD

MH8w7‖Display upper case abbreviated month name in format "JAN-01"

dro72‖[NatNum12 MMMM=lower]MMMM

PCQE6‖Display lower case month name in format "january"


i25EX‖Other possible arguments: "money" before 3-letter currency codes, for example [NatNum12 capitalize money USD]0.00 will format number "1.99" as "One and 99/100 U.S. Dollars".

wGSEZ‖Error Codes

dw9X2‖If the value is outside the limits for the selected format the following error code is shown:

#FMT