Using the ExpressionEvaluator Transformer

The ExpressionEvaluator evaluates an arithmetic expression and returns the result in a new attribute.

Allows you to use mathematical functions and some FME functions to evaluate arbitrarily complex expressions that work on the attribute of features to produce new values. Note that the dialog gives you help to build the arbitrary expression, but you can also type it manually.

Note: It is easy to build an invalid expression, so you may have to double check that what you build makes sense.