Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a Quantity converted to the best prefix
ResourceFunction["UnitAdjust"][quan,{unit1,unit2,…}] return the Quantity quan converted to the unitj with the best prefix. |
Choose among compatible units from different unit systems:
In[2]:= | ![]() |
Out[2]= | ![]() |
For length units:
In[3]:= | ![]() |
Out[3]= | ![]() |
Use "UnitCutoff" to select the prefix that is closest to 1:
In[4]:= | ![]() |
Out[4]= | ![]() |
Use "LogCutoff" to:
In[5]:= | ![]() |
Out[5]= | ![]() |
The given units must be compatible:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
Word cloud of temperature units:
In[9]:= | ![]() |
Out[9]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License