Re: [perl #55196] 'print' and 'say' format a number register differently

2008-06-03 Thread Andy Bach
On Mon, 2008-06-02 at 12:27 -0700, Bernhard Schmalhofer wrote: > [EMAIL PROTECTED]:~/devel/Parrot/trunk$ ./parrot t.pir > 3.14159 > 3.141590 > > Why should 'print' print trailing a '0' and 'say' not? default rounding length? sub main $N0 = 3.141596 ... ./parrot ../pi.pir 3.1416 3.141596 and

Re: [perl #55196] 'print' and 'say' format a number register differently

2008-06-02 Thread chromatic
On Monday 02 June 2008 12:27:17 Bernhard Schmalhofer wrote: > The behavior of > > .sub main > > $N0 = 3.14159 > say $N0 > print $N0 > print "\n" > .end > > surprised me, as I got: > > > [EMAIL PROTECTED]:~/devel/Parrot/trunk$ uname -a > Linux heist 2.6.24-17-generic #1 SMP Thu May 1 14:31:

[perl #55196] 'print' and 'say' format a number register differently

2008-06-02 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #55196] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55196 > The behavior of .sub main $N0 = 3.14159 say $N0 print $N0 print "\n" .