Revision: 51582
Updated Code
at September 28, 2011 18:33 by badiali
Updated Code
function aleatorio(inferior,superior){ numPosibilidades = superior - inferior aleat = Math.random() * numPosibilidades aleat = Math.round(aleat) return parseInt(inferior) + aleat }
Revision: 51581
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 28, 2011 18:30 by badiali
Initial Code
function aleatorio(inferior,superior){ numPosibilidades = superior - inferior aleat = Math.random() * numPosibilidades aleat = Math.round(aleat) return parseInt(inferior) + aleat }
Initial URL
Initial Description
Initial Title
Numero aleatorio por rango
Initial Tags
javascript
Initial Language
JavaScript