Skip to content

ironpiri/numeroaleatorio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

<title>Generar Números Aleatorios dentro de un Rango</title> <script type="text/javascript"> function aleatorio() { var min = parseInt(document.getElementById('min').value); var max = parseInt(document.getElementById('max').value); var res = Math.floor(Math.random() * (max - min + 1)) + min; document.getElementById('resultado').innerHTML = res.toString(); } </script> Valor mínimo: Valor máximo:

About

Generar Números Aleatorios - Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published