NYCPHP Meetup

NYPHP.org

[nycphp-talk] Unfriendly Float Handling

tedd tedd at sperling.com
Sun Apr 2 10:16:01 EDT 2006


>Banks just handle monetary values to 4 or 6 decimal places.  If you
>manipulate values as "49.9500", it doesn't matter what you do to it, it
>will come out correct to the cent.
>
>Michael Sims

I wouldn't mind having the $0.00005 rounding error of all Bank 
transactions sent to me.  :-)

tedd
-- 
--------------------------------------------------------------------------------
http://sperling.com



More information about the talk mailing list