I need to execute a formula taken from a db at runtime How-To
I have Formulas stored in a database for UOM conversion... stored in the following way..
Formula = F/T
Where F=1500 and T=2000
I want to substitue F with 1500 and T with 2000 and execute the
formula at runtime..
The formula that can be kept in this db field is dynamic and may change
based on how the user sets up the UOM conversion for many different cases.
the example above is From lbs to To Tons
This is exactly what I was looking for.
I tip my hat to you. This is exactly what I needed.
Your example helps out a lot.. I have the tokenizer part figured out, but, I'm relatively new to Java, so, I'm still trying to figure some of the finer things...