Return Values?

Blitz3D Forums/Blitz3D Programming/Return Values?

Is it true that functions can only return integers? I was working on some stuf and suddenly realized that this was the case, at least for my code. any time I returned a float or an int, it was always caste as an integer. Is there any way to return float values? thanks.

function TimesTwo#(value#)
return value*2.0
end function

print TimesTwo(1.8)

Oh I see. Thanks