数字/格式

为选定的单元格指定格式选项。

要访问此命令...

打开处于打开状态的数据库表格列标题的上下文菜单 - 选择列格式 - 格式选项卡

选择格式 - 轴 - 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.

货币分类列表框

选择币种,然后滚动到格式列表的顶部以查看该货币的格式化选项。

批注图标

货币的格式码采用 [$xxx-nnn] 的格式,其中 xxx 为货币符号,nnn 为国家/地区代码。有些特殊的银行符号,例如欧元所用的 EUR,则不需要国家/地区代码。货币格式不受语言框中所选语言的影响。


语言

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

语言设置能够确保当在使用其他默认语言设置的操作系统中打开文档时,文档中的日期和货币仍保留原有格式。

源格式

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.

分母位数

分数格式下,要显示的分母位数。

前导零

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.

预览字段

预览当前选定内容。