You are here: Re: division by zero « PHP SQL « IT news, forums, messages
Re: division by zero

Posted by toffee on 10/10/47 11:52

Hi, after some research,

i found that you need to use the @ sign before the formula i.e. $value = @(2
/ 0);

hope this helps any1

"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:1c8d1$44b2ae17$8259c69c$31535@news1.tudelft.nl...
> toffee wrote:
> > Hi all,
> >
> > is there a way to get rid off all the division by zero messages?
> >
> > all suggestions are appreciated
>
> 1. proper coding.
> 2. proper checking
> 3. don't divide by zero
>
> I've had a division by zero error once, a long, long time ago, and then I
> knew.
>
> Grtz,
> --
> Rik Wasmus
>
>

 

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

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