On Wed, Apr 05, 2000 at 03:04:06PM +1000, [EMAIL PROTECTED] wrote:
> 
> Basically I don't want decimal points in the final output.
> 

using printf:  printf "%.0f\n", $data1;

you can also take the floor or ceil of your variables with
POSIX::floor and POSIX::ceil.

for more info:
        perldoc -f printf
        perldoc POSIX

Conrad.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to