I have a list of floats that I need to put into an array, when I put them into an array manually the floats lose their format, for example:

$a = array(1=>3.50807443617658E-4);

print $a[1] returns: 0.00035080744361766

I'm familiar with round() and all the math functions, but I'm stumped.

Any light anyone can shed on this would be appreciated. ;)

Thanks,

~Rob Yelvington


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



Reply via email to