zh_trans: docs/reference/glossary/quantity.md (#11379)

* zh_trans: docs/reference/glossary/quantity.md

* zh_trans: docs/reference/glossary/quantity.md

* zh_trans: docs/reference/glossary/quantity.md

* zh_trans: docs/reference/glossary/quantity.md

* Update quantity.md
This commit is contained in:
Linus Lee
2018-11-29 09:16:25 +08:00
committed by Qiming
parent dd7cea99b3
commit 66810a387f
+30 -1
View File
@@ -1,4 +1,17 @@
--- ---
title: 数量
id: quantity
date: 2018-08-07
full_link:
short_description: >
使用 SI 后缀的小数或大数的整数表示。
aka:
tags:
- core-object
---
<!--
---
title: Quantity title: Quantity
id: quantity id: quantity
date: 2018-08-07 date: 2018-08-07
@@ -10,10 +23,25 @@ aka:
tags: tags:
- core-object - core-object
--- ---
A whole-number representation of small or large numbers using SI suffixes. -->
<!--more--> <!--more-->
数量是使用紧凑的整数表示法的小数或大数的表示,并带有国际计量单位制(SI)后缀。
小数用 milli 单位表示,而大数用 kilo、mega 或 giga 单位表示。
例如,数字 `1.5` 表示为`1500m`
而数字`1000`表示为`1k``1000000`表示为`1M`
您还可以指定二进制表示法后缀; 数字 2048 可以写成`2Ki`
公认的十进制(10的幂)单位是 `m`milli)、`k`kilo
有意小写)、`M`mega),`G`giga)、`T`terra)、`P`peta)、
`E`exa)。
公认的二进制(2的幂)单位是 `Ki` (kibi)、 `Mi` (mebi)、`Gi` (gibi)、
`Ti` (tebi)、 `Pi` (pebi)、 `Ei` (exbi)。
<!--
Quantities are representations of small or large numbers using a compact, Quantities are representations of small or large numbers using a compact,
whole-number notation with SI suffixes. Fractional numbers are represented whole-number notation with SI suffixes. Fractional numbers are represented
using milli units, while large numbers can be represented using kilo, using milli units, while large numbers can be represented using kilo,
@@ -29,3 +57,4 @@ intentionally lowercase), `M` (mega), `G` (giga), `T` (terra), `P` (peta),
The accepted binary (power-of-2) units are `Ki` (kibi), `Mi` (mebi), `Gi` (gibi), The accepted binary (power-of-2) units are `Ki` (kibi), `Mi` (mebi), `Gi` (gibi),
`Ti` (tebi), `Pi` (pebi), `Ei` (exbi). `Ti` (tebi), `Pi` (pebi), `Ei` (exbi).
-->