You are here: Re: problem with fmod() « PHP Programming Language « IT news, forums, messages
Re: problem with fmod()

Posted by Erwin Moller on 11/29/07 12:18

bummerland@gmail.com wrote:
> Hi,
>
> I have a problem with the function fmod.
>
> Why is fmod(5.7, 0.1) = 0.1 ?? Why is it not 0?
>
> tia bummerland

Hi,

Read the usercontributed notes on www.php.net for that function.
http://nl3.php.net/manual/en/function.fmod.php

It seems to be broken.
Also you'll find a few replacing algoritms.

Regards,
Erwin Moller

 

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

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