Simple way for parseInt()
parseInt(Math.random()*100)
equal to
Math.random()*100|0
Written by ryooo321
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Related Tags
#javascript
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#