:: com :: sun :: star :: i18n ::
|
constants group KNumberFormatUsage |
- Description
- Category of number format code.
|
Constants |
DATE |
Date format, for example, "YYYY-MM-DD". |
TIME |
Time format, for example, "HH:MM:SS". |
DATE_TIME |
Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS". |
FIXED_NUMBER |
Numeric format, for example, "#,##0.00". |
FRACTION_NUMBER |
Fractional format, for example, "# ??/??". |
PERCENT_NUMBER |
Percent format, for example, "0.00%". |
SCIENTIFIC_NUMBER |
Scientific format, for example, "0.00E+00". |
CURRENCY |
Currency format, for example, "#,##0.00 [$EUR]" |
Constants' Details |
DATE
const short DATE = 1;
- Description
- Date format, for example, "YYYY-MM-DD".
|
|
TIME
const short TIME = 2;
- Description
- Time format, for example, "HH:MM:SS".
|
|
DATE_TIME
const short DATE_TIME = 3;
- Description
- Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
|
|
FIXED_NUMBER
const short FIXED_NUMBER = 4;
- Description
- Numeric format, for example, "#,##0.00".
|
|
FRACTION_NUMBER
const short FRACTION_NUMBER = 5;
- Description
- Fractional format, for example, "# ??/??".
|
|
PERCENT_NUMBER
const short PERCENT_NUMBER = 6;
- Description
- Percent format, for example, "0.00%".
|
|
SCIENTIFIC_NUMBER
const short SCIENTIFIC_NUMBER = 7;
- Description
- Scientific format, for example, "0.00E+00".
|
|
CURRENCY
const short CURRENCY = 8;
- Description
- Currency format, for example, "#,##0.00 [$EUR]"
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.