Ver Mensaje Individual
  #5 (permalink)  
Antiguo 11/07/2008, 23:08
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Existe algun substr() pero para Numeros???

Podrías convertirlo a string y luego a entero:
Código PHP:
$numero=0.0000122;
echo (int) 
substr"$numero"0); 
Saludos.