Re: Higher accuracy output from human_readable()

2016-09-16 Thread Paul Eggert
On 09/15/2016 02:54 PM, Darshit Shah wrote: would like the function to always return a value with 2 decimal points, even if it means returning xx.00 MiB for example. How can I achieve this using the module? It doesn't support that now. I suppose you could add an option

Higher accuracy output from human_readable()

2016-09-16 Thread Darshit Shah
Hi, I'm trying to use the human_readable() method from module human. I am currently using it with the following options: human_autoscale | human_base_1024 | human_SI | human_B | \ human_round_to_nearest | human_group_digits It shows the value correctly with one decimal