You are here: Re: float to integer convertion « PHP Programming Language « IT news, forums, messages
Re: float to integer convertion

Posted by lorento on 09/21/06 10:30

iulian.ilea wrote:
> function c3($calc)
> {
> //=((16*M54)/100)+4
> $c=((16*$calc)/100)+4;
> return number_format($calc,2,",",".");
> }

$c=((16*$calc)/100)+4; --> $c variable never been used

return number_format($calc,2,",","."); --> it will format the input
number $calc

---
http://www.groupvita.com
http://www.deshot.com

 

Navigation:

[Reply to this 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

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