For Programmers: Free Programming Magazines  


Home > Archive > PHP Questions and Answers > April 2007 > Re: diff in double-to-string conversion 5.2.1 vs 5.2.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: diff in double-to-string conversion 5.2.1 vs 5.2.2
Antony Dovgal

2007-04-19, 7:57 am

On 04/15/2007 11:05 AM, Sebastian Nohn wrote:
> <?php
> $a = 6900000000;
> var_dump($a);
> $b = "A is: ".$a;
> var_dump($b);
> ?>
>
> 5.2.1 output is:
>
> float(6.9E+9)
> string(16) "A is: 6900000000"
>
> 5.2.2-dev output is:
>
> float(6.9E+9)
> string(12) "A is: 6.9E+9"


Fix committed, please test the next snapshot.

--
Wbr,
Antony Dovgal
Arsamameny

2007-04-26, 4:54 pm

http://Martha-Stewart-anal-action.o...hp?movie=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com