Thanks for the reply.
I know of the fact that converting the key to a string would be the
'correct' way of using it, i was more curious as to the difference in
the var_dump-s... But the precision setting is new to me, i'll have a
look into that... That would indeed make the differences in the
On Tue, Jul 24, 2012 at 1:01 AM, Kingsquare.nl - Robin Speekenbrink <
ro...@kingsquare.nl> wrote:
> Hi all,
> [...]
>
> Why does the last of the following examples lower my key to 18 BUT does
> the var dump of the float clearly state 'float(19)' as the actual value:
[...]
> $i =(fl
Your CompSci education (or lack thereof) has failed you.
Use the source.
Floats behave differently under different conditions.
-Ronabop
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
First of all, let me state that the following question is probably going
to shun me forever due to the 'basic' nature of the question and the
probable misunderstanding of floats in general, but still this got me
baffled and i'd like to post this here:
Why does the last of the followi