Suffixation of decimal numbers: Difference between revisions
m
→{{header|Perl 6}}: spelling; it eludes me
m (→{{header|zkl}}: bored) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: spelling; it eludes me) |
||
Line 429:
when 'M' { <K M G T P E Z Y X W V U> Z=> (1000, * * 1000 … *) }
when 'B' { <Ki Mi Gi Ti Pi Ei Zi Yi Xi Wi Vi Ui> Z=> (1024, * * 1024 … *) }
when 'G' {
default { return 'What we have here is a failure to communicate...' }
}
Line 478:
456,789,100,000.000e+00 M 0 : 457G
+16777216 B : 16Mi
1.2e101 G :
703674818560 B 2 : 655.35Gi
347,344 M -2 : 300K
|