Re: YA no se restar!

From: Date: Thu, 27 May 2004 23:28:10 +0000
Subject: Re: YA no se restar!
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-48982@lists.php.net to get a copy of this message
Prueba con esto: echo "a = $a, b = $b\n"; echo "resta = ". int ($a-$b); Innox - Juan Carlos Gonzalez wrote:
Jóvenes!! AYUDA!!! // código echo "a = $a, b = $b\n"; echo "resta = ".($a-$b); // resultado a = -0.1, b = -0.1 resta = 3.60822483003E-16 Yo se que es un problema común... también se que alguien ha tenido ese problema y lo solucionó. GRACIAS!


« previous php.general.es (#48982) next »