Examine the following piece of code and determine the data type of the function's return value.

Function Real sum (Integer num1, Integer num2)
Declare Integer result Set result = num1 + num2
Return result
End Function