Convert function values to Float64 before returning results