Numeric expressions evaluated into values
Conversion calculator accepts simple numeric expressions and formulae,
that are evaluated internally into decimal numbers. Numeric values like
integers, decimals, and scientific notation are also accepted.This is the only unit
converter available online that meets this standard.
Why provide support for evaluating expressions in calculations?
This unit converter is designed to meet real world needs. Consider you are
in a hardware store with a 5 foot board. You need to cut it into 6 equal pieces
and the store needs the size of a single piece in meters or centimeters. This unit
converter will accept an expression 5/6 in feet, and compute the fractional value
for you without further headaches. It will then express this value in multiple
unit systems of your choosing. This simple example shows the flexibility of
allowing mathematical expressions as numeric inputs.
Currently mathematical operators +, -, *, /, and use of brackets ( ) are
supported. Examples of usage of expressions and numbers are listed below.
Examples of expressions and numeric input values
Integers | 100 |
Decimals | 3.14 |
Fractions | 5/16 |
Mixed fractions | 2 3/4 or 11/4 |
Complex fractions | 4.5/8.1 |
Simple expressions | 2/3 * (1 + 1/2) which reduces to 1 |
Complex expressions | 2.1 * (4/5 + 8/7)/(3 * (0.5 + 122/455)) |
Scientific | 1.128e+1 |
Providing values for multi-unit systems
A single unit metric only requires one value. Measurement systems with
multiple units can be used as groups like (yard, foot, inch). These require
three values to be provided, one for each sub-unit. In such cases provide individual
expressions or values with a comma (,) separation. For a (foot, inch) system the
input can be 3.5, 1/16 which will be translated as foot=3
and inch=9/16. This feature does not show up in every measure. Length, area, volume,
mass and time have multi-unit options.