Ver Mensaje Individual
  #9 (permalink)  
Antiguo 22/01/2002, 19:25
Avatar de Aston
Aston
 
Fecha de Ingreso: mayo-2001
Ubicación: Madrid
Mensajes: 933
Antigüedad: 24 años
Puntos: 0
Re: Convertidor de Divisas

function limpiarResultado(frmFormulario) {
frmFormulario.resultado.value=""
}

function xRound(nNum, nDec)
{
var nFact = 1;
for(i=1; i<=nDec; i++)
{
nFact *= 10
}
return Math.round(nNum * nFact) / nFact;
}

¡Y esto es todo! Espero que te sirva. Un saludo, amigo.


<a href="http://www.laventanita.net/" target="_blank">
<img src="http://www.breogan.org/images/Aston.gif" border="0" alt="La Ventanita.net - Lo imprescindible en la red"></a>