Mapping numeric functions: NumericFuncMapper element
The NumericFuncMapper element is used for customizing the mappings of the numeric functions listed in Table 11-6. The table also shows the default template for each function.
Numeric function
Example: Mapping the POWER function
The POWER function with DECIMAL and INTEGER operands does not give accurate results on your database. To obtain more accurate results, you convert the second operand to a decimal:
<NumericFuncMapper>
    <FunctionMappings>
      <FunctionMapping FunctionName="POWER"
        OperandTypes="DECIMAL INTEGER">
        POWER ($P0, CAST ($P1 AS DECIMAL (10, 0))
      </FunctionMapping>
    </FunctionMappings>
</NumericFuncMapper>

Additional Links:

Copyright Actuate Corporation 2012