The return type is determined by the type of the evaluated result of expression. If the expression result is integer, decimal, ...

The return type is determined by the type of the evaluated result of expression. If the expression result is integer, decimal, money and smallmoney, float and real category, the return types are int, decimal, money and float respectively.