数 / 書式

目次

# 数値

選択したセルの書式設定オプションを指定します。

# 数の書式

Specify the formatting option for the selected variable or table cell with numeric value.

このコマンドの見つけ方

Choose Format - Cells - Numbers tab.

#### From the sidebar:

Choose View - Styles (Command+T)(F11) - open context menu and choose New/Edit Style - Numbers tab.

Open context menu for a column header in an open database table - choose Column Format - Format tab.

#### From the menu bar:

Choose Table - Number Format (for tables).

Choose Insert - Field - More Fields - Variables tab and select Additional formats in the Format list (for variables).

#### From the tabbed interface:

Choose Table - Number Format.

Choose Format - Axis - Y Axis - Numbers tab (chart documents).

## 分類

Select a category from the list, and then select a formatting style in the Format box.

セルの標準通貨書式は、オペレーティングシステムの地域設定によって決定します。

## Format

Select how you want the contents of the selected cell(s) field to be displayed. The code for the selected option is displayed in the Format code box.

### Currency category list boxes

Select a currency, and then scroll to the top of the Format list to view the formatting options for the currency.

通貨の書式コードの形式は、[$xxx-nnn] です。ただし、xxx は通貨記号、nnn は国コードです。EUR (ユーロ) などの特殊な銀行業務用記号では、国コードを必要としません。通貨の書式は、言語 ボックスで選択した言語とは無関係に設定できます。

## Language

Specifies the language setting for the selected fields. With the language set to Default, LibreOffice automatically applies the number formats associated with the system default language. Specifies the language setting for the selected cells. Specifies the language setting for the selected field.

この言語設定により、別の標準言語設定を使用するオペレーティングシステムでドキュメントを開いた場合でも、日付および通貨の書式が維持されます。

## Source format

Uses the same number format as the cells containing the data for the chart.

## Options

選択した書式のオプションを指定します。

### Decimal places

Enter the number of decimal places that you want to display.

### Denominator places

With fraction format, enter the number of places for the denominator that you want to display.

### Leading zeroes

Enter the maximum number of zeroes to display in front of the decimal point.

### Negative numbers red

Changes the font color of negative numbers to red.

### Thousands separator

Inserts a separator between thousands. The type of separator that is used depends on your locale settings.

### Engineering notation

With scientific format, Engineering notation ensures that exponent is a multiple of 3.

## Format code

Displays the number format code for the selected format. You can also enter a custom format. The following options are only available for user-defined number formats.

### Add

Adds the number format code that you entered to the user-defined category.

### Edit Comment

Adds a comment to the selected number format.

### Delete

Deletes the selected number format. The changes are effective after you restart LibreOffice.

### Name line

Enter a comment for the selected number format, and then click outside this box.

### プレビューフィールド

Displays a preview of the current selection.

関連項目

Number format codes: custom format codes defined by user.