fixed the method transform of the class FunctionSupport to work with Decimal