Simple Unit Converter (old version) (conv1)
Convert values from one unit to another, with cost calculation. Input value, units, and get converted and expressed values.
Simple Unit Converter (old version)
Purpose
The Simple Unit Converter function helps you convert a value from one unit of measurement to another and express it in different units. It can be used for various conversion needs.
Use Cases
- Convert length measurements from feet to meters
- Express weight measurements in pounds, kilograms, and grams
How to Use
- Enter the value you want to convert in the Value field.
- Select the unit you are converting from in the From Unit dropdown menu. (Default unit is inch)
- Choose the unit(s) you want to convert to in the Convert To Units field. Separate multiple units with a comma.
- Select the unit(s) in which you want to express the value in the Express In Units field. Separate multiple units with a comma.
- Click on the Convert button to see the converted and expressed values.
Input Values
- Value: Enter the numerical value you want to convert.
- From Unit: Select the unit of measurement you are converting from. (Default unit is inch)
- Convert To Units: Select the unit(s) you want to convert the value to.
- Express In Units: Select the unit(s) in which you want to express the value.
Output Values
- Converted Value: The converted value in the selected unit(s).
- Expressed Value: The value expressed in the selected unit(s).
- Category: Category of the unit of measurement.
- Total Cost: Total cost calculation based on the unit cost provided.
Any other Instruction
- You can enter simple expressions in the Value field for calculations (e.g., 92/3+15).
- If you want to convert to multiple units or express in multiple units, separate them with a comma.
Code Analysis
- The function takes the input value, unit to convert from, units to convert to, and units to express in.
- It evaluates the input value, converts it to the specified unit(s), and expresses it in the selected unit(s).
- It also calculates the total cost based on the provided unit cost.
Technical Parameters
- value, from_unit, convert_to_units, express_in_units, unit_cost
Return Values
- converted_value, expressed_value, category, total_cost
Example Expressions
You can use the following expressions to directly evaluate in a non-interactive manner using eva()
:
eva('5.5', 'ft', 'm', 'yd,ft,inch', '@UNC/ft')
eva('10', 'lb', 'kg', 'g', '@COST/lb')
Click on Help icon to open the help page on a separate window.