In an earlier post, I mentioned the "PERL version" command returned "5.006" Here are the results from the other bit of code you asked me to try. BTW, I'm not getting your e-mails in the right order. I think our internal e-mail server is having a hard time today...
0 1 0.0 1.5 0.00 1.50 0.000 1.500 0.0000 1.5000 I also believe the PA8500 is a 32 bit processor.... .-. --.. -----Original Message----- From: WC -Sx- Jones [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 12:39 PM To: Zielfelder, Robert Cc: Perl Beginners List (E-mail) Subject: Re: Rounding of floating point numbers Zielfelder, Robert wrote: > One other odd thing I noticed using the sprintf method: > If $var is odd, $var2 rounds low. If $var is even, then $var2 rounds high. > Being a programmer by necessity rather than by choice forces me to take the > easy way out and use the POSIX solution to get the program written. > Although, it would be interesting to know why the sprintf method behaves the > way it does... That could be caused by a parity correcting CPU which was NOT accounted for during the build/compliation phase of Perl. 65 bits as opposed to 64 is meaningful. I would still like to know what version of Perl you have as well. :) -Sx- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>