Bits, Bytes, Kilo, Mega, Giga, Terra... Too many numbers! :O

Status
Not open for further replies.

neil3834

New Member
YetiShare User
Apr 10, 2014
57
0
0
What on earth do we use for bytes and bits and kilobytes and megabytes?

In the defaults I see:
- 1048576000
and
- 1073741824

Which is 1GB?
What about 1024000000 ?
And are you struggling to count the number of numeric values to ascertain if it is in the thousands, millions or billions (a million million or frequently mistaken for a thousand million) or if you are American, then Trillions.


SOLUTION:
Would it not be easier to just have one of two options:

Option One:
Input field with drop-down. Allows you to specify 1 GB, 1 MB, 1 KB. or change 1 to 1000 or 9999 or whatever you want. It is an input field. You could also make it a value changer field, where people could press UP or DOWN to make it increment and decrement in value.

This obviously saves having to write: 107374182 instead of 100 MB... Which is easier for people? Which is likely to result in fewer errors? Which is going to require less queries? :D

Option Two:
A drop down field with various pre-configured defaults, and at the bottom "user-defined value", which makes an input field visible (and the drop-down for KB, MB, GB) where they can input a custom value.


So Option 2 uses the same as Option 1, but also has a drop-down for frequently used sizes (1 MB, 10 MB, 50 MB, 100 MB, 256 MB, 512 MB, 768 MB, 1,024 MB, User-Defined Value.). The 8 values in the drop-downs cover the most frequently used values. Making life even easier! :)

I hope this makes sense.
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Re: Bits, Bytes, Kilo, Mega, Giga, Terra... Too many numbers

Just type into Google - "Convert 1GB to bytes". Simple. :)
 

neil3834

New Member
YetiShare User
Apr 10, 2014
57
0
0
Re: Bits, Bytes, Kilo, Mega, Giga, Terra... Too many numbers

Ok so you're not interested on improving this?

If you even bothered to count the number off digits you would find them to be the same.
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Re: Bits, Bytes, Kilo, Mega, Giga, Terra... Too many numbers

neil3834 said:
Ok so you're not interested on improving this?

If you even bothered to count the number off digits you would find them to be the same.
Not really. I don't get what the issue is using bytes, it's more flexible if anything. I haven't had anyone else say it's an problem.

The dev time is far better spent in other places like adding new functionality to the script.
 
Status
Not open for further replies.