RE: Round Numbers

2004-09-08 Thread vega, james
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Anderson, Mark (Service Delivery) > Sent: Wednesday, September 08, 2004 9:59 AM > To: '[EMAIL PROTECTED]'; Chris > Cc: perl-win32-users; > [EMAIL PROTECTED] > Subject: RE: Round Numbers > > > Nope

RE: Round Numbers

2004-09-08 Thread Anderson, Mark (Service Delivery)
sprintf doesn't work either... The FAQ explains stuff about rounding here... C:>perldoc -q round Perhaps you could try Math::BigFloat and its fround() function. Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 113 Dundas Street, Edinburgh, EH3 5DE http://www.manufacturing.

Re: Round Numbers

2004-09-08 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > > > how about > > $rounded = int($number+ 0.5) Or for a specified number of digits using POSIX method : sub pround ($;$) { # $ret = pround ($num, [$digits:2]) my $num = shift; my $dp = shift || 2; use POSIX qw(ceil floor); my

RE: Round Numbers

2004-09-08 Thread Anderson, Mark (Service Delivery)
Nope... try it :-) It only returns the integer component. C:\logchecks>perl -e "print int(1.7)" 1 C:> Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 113 Dundas Street, Edinburgh, EH3 5DE http://www.manufacturing.rbs.co.uk/GTrswi/ > -Original Message- > From: [EMA

Re: Round Numbers

2004-09-08 Thread gerhard . petrowitsch
how about $rounded = int($number+ 0.5) Regards, Gerhard |-+-> | | | | | | | |

Round Numbers

2004-09-08 Thread Chris
All, Is there an easy way to round numbers in Perl? Regards, Chris ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Mail::POP3Client.

2004-09-08 Thread Nicolae.Popovici
Title: Mail::POP3Client. Hi all,   I wrote a small Perl script which reads the emails from a POP3 mail server and does some automatic analyses on them. Now, my problem is that I am not able to take only the new emails ( only those UNREAD ). I was thinking of doing ( as a workaround ) the fo

Search for HTTP::Daemon::SSL

2004-09-08 Thread Dietmar Fiehn, Dr.
May someone point me to a ppd containing HTTP::Daemon::SSL for mswin32 and give me some hints about possible pitfalls? Thanks, Dietmar ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Image::Magick and cgi.pm

2004-09-08 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hi all, > > I'm having a serious problem on my web server that I hope someone of you can shine > some light on. > > I have a CGI script where users of our intranet can upload files through a form. > Since two weeks, they get a blank screen on submission of the form

Image::Magick and cgi.pm

2004-09-08 Thread k . g . kamphuys
Hi all, I'm having a serious problem on my web server that I hope someone of you can shine some light on. I have a CGI script where users of our intranet can upload files through a form. Since two weeks, they get a blank screen on submission of the form and the file is not uploaded. The form