Reply to Re: Missing 0.0000001 - driving me crazy - help!

Your name:

Reply:


Posted by Philip Ronan on 12/05/05 21:41

"Andy Hassall" wrote:

> You appear to be working with monetary values from the names in your original
> post. You shouldn't use floating point numbers for money; use integers,
> multiplied up to the minor currency. So £1.50 = 150.

There might be a good reason for using floats. For example, all your sales
tax calculations will be rounded down if you use integers.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация