Closed iitalics closed 10 years ago
please update to match my latest merged pull (current master)
I like this the best. Should we close the other getFileSizeString() PRs?
I liked andrew's the best but since he won't fix his merge I'll merge this and close the other two. Seriously why do we have 3 PR for a fucking function ?
The "setprecision()" call used to do nothing because we printed integers (converts to doubles now). Manually expanding multiplication only removes readability, the compiler will do these simple optimizations. "else if" is exponentially more clean than the old "if"s. Also fixed (eg "3.100 GB") looks messier than without fixed (eg "3.1 GB")