Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/11/2004, 10:05
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Mira este ejemplo:

<?php
$texto="10.65";
$numero=$texto;
settype($numero,"double");
echo ($numero+1.2)."<br>";
echo ($texto+1.2);
?>