not sure if there is something wrong with it, or:
Code:

function isNumeric($var)
$IsNumeric = $var=0.0+$var
endfunction

_________________________
!

download KiXnet