[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: perl panic
- Subject: Re: perl panic
- From: John Porter <jdporter@MIN.NET>
- Date: Tue, 2 Oct 2001 12:18:20 -0400
- In-reply-to: <5.1.0.14.0.20011002090401.0299a6f0@pop.indwes.edu>; from sswan@INDWES.EDU on Tue, Oct 02, 2001 at 09:09:11AM -0500
- Reply-to: PERL4LIB -- Perl For Libraries <PERL4LIB@LISTSERV.RICE.EDU>
- Sender: PERL4LIB -- Perl For Libraries <PERL4LIB@LISTSERV.RICE.EDU>
Stephen Swan wrote:
> Has anyone ever gotten this error from perl? How do I resolve it?
>
> line 366: $fte = sprintf("%2.4f", $fte);
Just a shot in the dark, but... maybe it will work if you
say "%7.4f". The number before the dot is the *total* width
of the field, not the number of digits to the left of the
decimal point.
--
John Porter