> Da se v JS nejak generovat skutecne nahodne cislo z uvedeneho rozsahu? > A umi JS vubec rozlisit typ cisla? /integer, real... Pokud vam jde o to pseudo-nahodne, tak pro 0-10 je to treba: no=Math.random()*10 document.write(Math.round(no)) Ladislav Pelcl - Laddobar -- ---< Welcome to the Desert of the Real.. >--- ---< E-mail >---< ladislav@pelcl.cz >---< laddobar@volny.cz >--- ---< ICQ # >---< 36366729 >--- ---< Web >---< http://laddobar.pelcl.cz/ >---
This archive was generated by hypermail 2.1.2 : 04. 09. 2001, 07:43 CEST