Hello guys,
I'm wondering if in the Boost universe we already have something to format numbers according to IEC's "new" prefixes (such as MiB and GiB) or SI prefixes (such as MB and GB).
What I'm looking for is something like:
formatter << boost::iec_prefix << 5*1024*1024;
// Will output "5 GiB"
formatter << boost::si_prefix << 5*1024*1024;
// Will output "5GB"
Do you have anything like this?
Thank you for your support,
Rodrigo Madera