moved 'generateErrorText' to Tools.Text
float and integer expressions are converted to their internal data type