milli0n / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

Change prefixes for binary multiples in string meter autoscaling #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the string meter, autoscaling should use the proper prefixes for 
binary-based multiples.

SI system:
1 kB = 1 kilobyte = 10^3 bytes = 1000 bytes

Binary system:
1 KiB = 1 kibibyte = 2^10 bytes = 1024 bytes

So, when autoscale is set to 1 or 1k, the prefix should be Ki instead of k.

wikipedia shows all the proper binary prefixes:
http://en.wikipedia.org/wiki/Kibibyte

Original issue reported on code.google.com by ddf...@gmail.com on 22 Sep 2011 at 6:06

GoogleCodeExporter commented 8 years ago
This would change the text displayed, so we cannot fix it. It would also create 
confusion (e.g. Windows reports disk size in kB and Rainmeter displaying KiB 
would confuse most users).

Although not the optimal solution, you can use Substitute=" k":" Ki"," M":" Mi" 
etc. on your measures.

Original comment by birunthan.mohanathas on 24 Sep 2011 at 1:51