Contents
Index 🔎︎

# 數字/格式

Specify the formatting option for the selected variable.

Specify the formatting options for the selected cell(s).

若要使用此指令...

Choose Format - Cells - Numbers tab.

Choose View - Styles (F11) - open context menu and choose Modify/New - Numbers tab.

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

Choose Table - Number Format (for tables).

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

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.

儲存格的預設貨幣格式由作業系統的地區設定來決定。

## 格式

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.

### 清單方塊分類「貨幣」

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) 不需要國家/地區代碼。貨幣格式與[語言]方塊中選取的語言無關。

## 語言

Select any language to fix the settings for the selected fields. With the language set to Automatic, LibreOffice automatically applies the number formats associated with the system default language. Select any language to fix the settings for the selected fields. Specifies the language setting for the selected cells. Select any language to fix the settings for the selected cells. Specifies the language setting for the selected field. Select any language to fix the settings for the selected fields.

此語言設定可確保即使在使用其他預設語言設定的作業系統中開啟文件，文件中的日期格式和貨幣格式仍保持不變。

## 來源格式

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

## 選項

指定所選格式的選項。

### 小數點位數

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.

### 前置零

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

### 紅色為負

Changes the font color of negative numbers to red.

### 千位點

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

### Engineering notation

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

## 格式碼

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.

### 增加

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

### 編輯註解

Adds a comment to the selected number format.

### 刪除

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

### 註解欄

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.