website/content/zh/docs/reference/glossary/quantity.md

65 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 量纲Quantity
id: quantity
date: 2018-08-07
full_link:
short_description: >
使用全数字来表示较小数值或使用 SI 后缀表示较大数值的表示法。
aka:
tags:
- core-object
---
<!--
title: Quantity
id: quantity
date: 2018-08-07
full_link:
short_description: >
A whole-number representation of small or large numbers using SI suffixes.
aka:
tags:
- core-object
-->
<!--
A whole-number representation of small or large numbers using SI suffixes.
-->
使用全数字来表示较小数值或使用 SI 后缀表示较大数值的表示法。
<!--more-->
<!--
Quantities are representations of small or large numbers using a compact,
whole-number notation with SI suffixes. Fractional numbers are represented
using milli units, while large numbers can be represented using kilo,
mega, or giga units.
For instance, the number `1.5` is represented as `1500m`, while the number `1000`
can be represented as `1k`, and `1000000` as `1M`. You can also specify
binary-notation suffixes; the number 2048 can be written as `2Ki`.
The accepted decimal (power-of-10) units are `m` (milli), `k` (kilo,
intentionally lowercase), `M` (mega), `G` (giga), `T` (terra), `P` (peta),
`E` (exa).
The accepted binary (power-of-2) units are `Ki` (kibi), `Mi` (mebi), `Gi` (gibi),
`Ti` (tebi), `Pi` (pebi), `Ei` (exbi).
-->
量纲是使用紧凑的全数字表示法来表示小数值或带有国际计量单位制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)。