Hm...you may be on to something. If you run this code you will see that
about 30% of the time $ns1 IS actually 1. the funny thing is that if you
remove the doubleval calls, $ns1 purports to have a value than 1.
Interesting...
?PHP
srand ((double) microtime() * 100);
Income
On Thursday 28 February 2002 08:35, Cal Evans wrote:
Hm...you may be on to something. If you run this code you will see that
about 30% of the time $ns1 IS actually 1. the funny thing is that if you
remove the doubleval calls, $ns1 purports to have a value than 1.
Interesting...
?PHP
2 matches
Mail list logo