Rob Yelvington wrote:

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.

I don't know if any of these work or not, but it's about all I could find:


http://www.faqchest.com/prgm/php-l/php-01/php-0108/php-010814/php01080315_24951.html

http://www.visualbasicforum.com/t35177.html

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





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



Reply via email to