Maybe this will clear it up:
 Code:
$V = 4048423081
'V: ' $V ?

$V = 4048423081.0
'V: ' $V ?

$V = 4048423081
'V: ' CDbl($V) ?

$V = '4048423081'
'V: ' CDbl($V) ?

$V = CDbl(4048423081)
'V: ' $V ?
Large numbers without a decimal point default to INTs - casting them after the fact results in a double-precision INT, so to speak. Hence, I can't cast the value to a double in the function unless it's passed to me as a string.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D