Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/08/2002, 13:40
Renegado
 
Fecha de Ingreso: febrero-2002
Ubicación: Santiago
Mensajes: 253
Antigüedad: 23 años, 3 meses
Puntos: 0
Re: quien sabe redondear o aproximar 195.8 a 196 o 195

AQUI ENCONTRE ALGO PARA REDONDEAR HACIA ARRIBA
COMO REDONDEAR UN NUMERO PARA ARRIBA

<html>
<body>

<%
i = 1722.6783223
j = 17.66634
response.write(Round(i))
response.write("<br>")
response.write(Round(j))
%>

</body>
</html>

RESULTADO

1723
18

ALGUIEN SABE COMO TRUNCO a
1722.6783223
17.66634

1722
17?????

quien tiene idea de hacer esto aproximar hacia arriba si el valor es 17.5 o mas = 18

si es 17.4 aproximar a 17 porfa??