Hope nobody actually used my inputs for any test case! :-$
Small correction, this should output 5 megs and not 5 gigs ;)On Mon, Mar 2, 2009 at 7:00 PM, Rodrigo Madera <rodrigo.madera@gmail.com> wrote:
formatter << boost::iec_prefix << 5*1024*1024;// Will output "5 GiB"formatter << boost::si_prefix << 5*1024*1024;// Will output "5GB"
Ovanes
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users