If you put a CINT around the resulting value, then that should go back to an integer 24.

Also, I just ran this little script and it works fine.
code:
Break on

$a='(cdbl(3)+cdbl(3)/cdbl(7))*cdbl(7)'

$rc=execute('$$b='+$a)

? 'Result = '+$b

? 'Result = '+($b=24)

? 'Result = '+vartypename($b)

with output
code:
Result = 24
Result = 1
Result = Double

_________________________
There are two types of vessels, submarines and targets.