in reply to splitting a decimal number..

er...
$y = int $x; $z = $x - $y;
Of course you may run into problems with negative numbers.

Dave.

Replies are listed 'Best First'.
Re^2: splitting a decimal number..
by renz (Scribe) on Jan 05, 2005 at 22:51 UTC
    Thanks all.