in reply to Weird number formatting

This may or may not help, but try putting a 'use integer;' at the top of your program. That should force Perl to do handle numbers as integers instead of floats.

----
Reinvent a rounder wheel.

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Weird number formatting
by licking9Volts (Pilgrim) on Mar 05, 2003 at 17:52 UTC
    Thanks hardburn, I tried it, but it ignored the decimals. Maybe because of the notation?