display of large numbers converted to Mega and Giga using 1024*n as divisor #106

Closed
jessereynolds opened this Issue Jun 21, 2012 · 2 comments

Projects

None yet

2 participants

@jessereynolds
Collaborator

Visage seems to be using x/1024*n to get up to Gigahertz (treating it like it's Gigabytes)
7419199488 hertz == 6.91G ? Not really.

This is probably what you'd want when showing bytes, but all other high values should use x/1000n to convert to Mega, Giga etc.

Owner
auxesis commented Aug 28, 2013

Per a conversation with @jessereynolds, I've changed the default value formatting from base 2 to base 10, as base 2 formatting seems to be required in the minority of cases.

dd2521a also add support for specifying the base you render with, which will be useful for nicely converting network device octets to megabytes.

@auxesis auxesis closed this Aug 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment