Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert a byte count to a quantity of bytes in an appropriate unit
Convert an integer of bytes to a Quantity:
In[1]:= |
|
Out[1]= |
|
Convert a lot of bytes into yottabytes:
In[2]:= |
|
Out[2]= |
|
Convert a compatible Quantity:
In[3]:= |
|
Out[3]= |
|
BytesToQuantity will choose units similar to the formatted display of ByteArray:
In[5]:= |
|
Out[5]= |
|
In[6]:= |
|
Out[6]= |
|
Units must be compatible:
In[7]:= |
|
Out[7]= |
|
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License