 
			
				30/12/2004, 04:40
			
			
			     |  
        |     Moderador extraterrestre   |    |    Fecha de Ingreso: diciembre-2001  Ubicación: Madrid  
						Mensajes: 6.987
					  Antigüedad: 23 años, 10 meses Puntos: 61     |        |  
  |       
Te serviría esto?   
<html> 
<head> 
	<title>Untitled</title> 
</head>   
<body> 
<script> 
numero=prompt("Dime un número","","","");   
if(isNaN(parseFloat(numero))){ 
alert(numero +" no es un número"); 
location.reload(); 
} 
else{ 
numero=parseFloat(numero); 
if(numero%1>0.5){ 
numero+=.5; 
}   
numero=Math.ceil(numero*10)/10 
alert(numero); 
} 
</script>       
</body> 
</html>       
				__________________  Cómo escribir 
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.            |