Hi,

double variables are rounded as integer
but GetType is 'double'

$a=10.2;
echo get_cfg_var('precision'); // print 14
echo ini_get('precision'); // print 14
echo GetType($a); // print double
echo $a; // print 10

I use php 4.1.2 / apache 1.3.24
but I have tried to upgrade to 4.2.3
without success some weeks ago.

Jean-Pierre



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franšais !
Yahoo! Mail : http://fr.mail.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to