Changed nice_unit_format() to allow selection between SI and IEC Systems of Units
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 31 Jan 2011 17:30:31 +0000 (18:30 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 31 Jan 2011 17:30:31 +0000 (18:30 +0100)
commit8126754431ff81a3dcfe854f3a5dc7790429a340
tree745f8378c16776e3a6f4f2b10e4e20427ed723c6
parentb04b4f7e5325e4d4482e2f63f5c90d08bd45a68e
Changed nice_unit_format() to allow selection between SI and IEC Systems of Units
- SI allows multiples of decimal 1000 (nice_unit_format default behavior)
- IEC allows multiples of binary 1024, 2^10 (format_kb default behavior)
src/stringfunc.cpp
src/stringfunc.hxx