Template:Bytes/doc
| This is a documentation subpage for Template:Bytes. It may contain usage information, categories and other content that is not part of the original template page. |
| Decimal | Binary | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Value | SI | Value | IEC | JEDEC | |||||
| 1000 | 103 | kB | kilobyte | 1024 | 210 | KiB | kibibyte | KB | kilobyte |
| 10002 | 106 | MB | megabyte | 10242 | 220 | MiB | mebibyte | MB | megabyte |
| 10003 | 109 | GB | gigabyte | 10243 | 230 | GiB | gibibyte | GB | gigabyte |
| 10004 | 1012 | TB | terabyte | 10244 | 240 | TiB | tebibyte | TB | terabyte |
| 10005 | 1015 | PB | petabyte | 10245 | 250 | PiB | pebibyte | — | |
| 10006 | 1018 | EB | exabyte | 10246 | 260 | EiB | exbibyte | — | |
| 10007 | 1021 | ZB | zettabyte | 10247 | 270 | ZiB | zebibyte | — | |
| 10008 | 1024 | YB | yottabyte | 10248 | 280 | YiB | yobibyte | — | |
| 10009 | 1027 | RB | ronnabyte | 10249 | 290 | RiB | robibyte | — | |
| 100010 | 1030 | QB | quettabyte | 102410 | 2100 | QiB | quebibyte | — | |
| Orders of magnitude of data | |||||||||
Usage
Convert between multiple-byte units.
| Parameter | Usage |
|---|---|
1 |
The value to convert |
2 |
The unit prefix for the provided value. One of SI or IEC prefixes. |
3 |
The unit prefix to convert into. |
4 |
Significant digits after decimal dot or, if negative, exponent of ten. |
d |
Decimal mode. If set, prefixes will based on powers of 10 instead of 2. Automatically set if IEC prefix is used. |
link |
Add link to provided unit. |
fmt |
fmt parameter for internal {{val}}. Default: commas
|
Examples
| Code | Result |
|---|---|
{{Bytes|64|K}} |
64 KB (65,536 bytes) |
{{Bytes|64|K|d=1}} |
64 KB (64,000 bytes) |
{{Bytes|1000000||M|3}} |
1,000,000 bytes (0.9537 MB) |
{{Bytes|1|Gi|G|3|link=gibibyte}} |
1 GiB (1.074 GB) |
{{Bytes|1|T|Gi|3}} |
1 TB (931.323 GiB) |
{{Bytes|1000000000||G|6|fmt=}} |
1000000000 bytes (0.931323 GB) |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.