Hi!
What about introducing a "money" or "currency" numeric type which guarantees say accuracy to 8DP?
Funny thing - I blogged about it about a year ago: http://php100.wordpress.com/2007/03/31/making-with-php/ There's some interesting discussion in comments about how people solve it. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php