Limit floating point numbers?

2002-03-30 Thread Brian Bratcher
Hello to all, I have been working intently on a new ordering system. The time frame is about 3 to 4 Months. I have got most everything working ok. Now I need to go back over almost 2500 lines of code and fix my floating point number so they read 1.25 instead of 1.2556. Which should round out to 1

Need Help With This!

2002-03-30 Thread Andrew Rosolino
please tell me what this means! Explain as you would to a newbie. ## use lib qw(.); #use CGI::Carp "fatalsToBrowser"; use strict; no strict 'refs'; $| = 1; #flush output require 5.004; require 'ss.lib'; #shared subroutine library #

Re: How To Get Rid Of Excess Blank Lines at The End Of File?

2002-03-30 Thread Kim, Kiseok
Ofir wrote: > Hi all, > > I have a file in the following format: > Line 1 > Line 2 > Line 3 > Line 4 > Line 1 > Line 2 > Line 3 > Line 4 > Blank Lines > Blank Lines > > When I read the File, it reads the blank lines too, so I have an excess > record at the end. > How can I avoid this? How will I

How To Get Rid Of Excess Blank Lines at The End Of File?

2002-03-30 Thread Ofir
Hi all, I have a file in the following format: Line 1 Line 2 Line 3 Line 4 Line 1 Line 2 Line 3 Line 4 Blank Lines Blank Lines When I read the File, it reads the blank lines too, so I have an excess record at the end. How can I avoid this? How will I get rid of the excess blank lines at the end