Module
Contents
Index 🔎︎

# 數字/格式

指定所選儲存格的格式化選項。

若要使用此指令...

選擇 [格式] - [儲存格] - [數字] 標籤

Choose View - Styles - open context menu and choose Modify/New - Numbers tab

已開啟資料庫表格欄首的右鍵功能表 - 「欄格式...」- 選項標籤「格式」

選擇「格式」-「軸」-「Y 軸...」- 選項標籤「數字」 (圖表文件)

對於文字文件中的表格和欄位，也可作為 [數字格式] 對話方塊：選擇[格式化] - [數字格式]，或者選擇 [插入] - [欄位指令] - [其他] - [變量]標籤，然後選擇 [格式] 清單中的「其它格式」。

## 區塊

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

## 語言

Specifies the language setting for the selected cells 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 cells 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.

### 刪除

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

### 編輯註解

Adds a comment to the selected number format.

### 註解欄

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

## 預覽欄位

顯示目前選取的預覽。

相關主題

Number format codes: custom format codes defined by user.