Home > Archive > PHP Questions and Answers > December 2006 > Re: [PHP-QA] Re: PHP 5.2.1RC2-dev vs. Zend Framework 0.2.0
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: [PHP-QA] Re: PHP 5.2.1RC2-dev vs. Zend Framework 0.2.0
|
|
| Hannes Magnusson 2006-12-18, 7:58 am |
| Hi Sebastian
On 12/17/06, Sebastian Nohn <sebastian@nohn.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sebastian Nohn wrote:
>
> A smaller Testcase on that:
>
> <?php
> $value = 100.426;
> var_dump(sprintf("%.3F", $value));
> ?>
>
> 5.2.0 returns
> string(7) "100.426"
>
> 5.2.1RC2-dev returns
> string(6) "100.43"
Thanks for the heads up. Should be fixed in CVS.
-Hannes
>
> Sebastian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFhZFHsvwfldR9VeARAtBjAJ9IUt6+YXIt
66/bnH+vT/GubZzBEgCdH/hJ
> aO05Uv4GVLt7N6CESHezW6g=
> =Ad9E
> -----END PGP SIGNATURE-----
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
| |
| Sebastian Nohn 2006-12-18, 7:58 am |
| Hannes Magnusson wrote:
[color=darkred]
> A smaller Testcase on that:
>
> <?php
> $value = 100.426;
> var_dump(sprintf("%.3F", $value));
> ?>
>
> 5.2.0 returns
> string(7) "100.426"
>
> 5.2.1RC2-dev returns
> string(6) "100.43"
>
I can verify the fix :)
Best regards,
Sebastian Nohn
--
Sebastian Nohn · Wolfstraße 29 · 53111 Bonn · Germany
+49-228-4097103 · http://nohn.net/ · sebastian@nohn.net
http://pgpkeys.pca.dfn.de:11371/pks...arch=0xD47D55E0
| |
| Antony Dovgal 2006-12-18, 7:58 am |
| On 12/18/2006 03:13 PM, Sebastian Nohn wrote:
> Hannes Magnusson wrote:
>
>
> I can verify the fix :)
That would be perfect, thanks in advance.
--
Wbr,
Antony Dovgal
| |
| Sebastian Nohn 2006-12-18, 6:58 pm |
| Antony Dovgal wrote:
> On 12/18/2006 03:13 PM, Sebastian Nohn wrote:
>
> That would be perfect, thanks in advance.
What I wanted to say: The fix has been verified ;)
Sebastian
| |
| Antony Dovgal 2006-12-18, 6:58 pm |
| On 12/18/2006 05:47 PM, Sebastian Nohn wrote:
> Antony Dovgal wrote:
>
> What I wanted to say: The fix has been verified ;)
Ok then =) Thanks.
--
Wbr,
Antony Dovgal
|
|
|
|
|