-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
The functions number_bytes_format() and number_bytes() incorrectly return a lower case "b".
number_bytes_format()(sample(3000000000, 3))
[1] "899 Mb" "541 Mb" "78 Mb"
But that should read
[1] "899 MB" "541 MB" "78 MB".
In fact, the web page cited in the help document (http://en.wikipedia.org/wiki/Units_of_information) states that:
The IEEE 1541-2002 standard specifies "B" (upper case) as the symbol for byte
The lowercase "b" is for bits. I wouldn't quibble except that the function has the word "byte" in the name. (Scales is an essential package. Thanks for writing it!)
Yuri-M-Dias and mikmart
Metadata
Metadata
Assignees
Labels
No labels