importocean.text.util.MetricPrefix;
// Number to display in metric prefixed mode.constnumber = 2876873683;
// Struct instanceMetricPrefixmetric;
// Calculate the binary metric prefix of the number.metric.bin(number);
// Output metric prefixed string (2.679297405Gb, in this case).Stdout.formatln("{}{}b", metric.scaled, metric.prefix);
Metric prefix struct.
Usage example: