Re: Quitar decimales.

From: Date: Sat, 15 Dec 2007 19:11:15 +0000
Subject: Re: Quitar decimales.
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-61976@lists.php.net to get a copy of this message
Fernando Zapata Miranda escribió:
intval, usando un cast (int) o usando floor()
Matematicamente hablando, floor es lo que buscas: el mayor entero menor o igual.

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