# Random Number in FuseJS

**URL:** <https://forums.fusetools.com/t/random-number-in-fusejs/3714>\
**Category:** How-to Discussions\
**Created:** [July 15, 2015, 10:40am UTC](https://forums.fusetools.com/t/random-number-in-fusejs/3714 "2015-07-15T10:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mao](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@Mao](https://forums.fusetools.com/u/Mao)\
**Post date:** [July 15, 2015, 10:40am UTC](https://forums.fusetools.com/t/random-number-in-fusejs/3714/1 "2015-07-15T10:40:27Z")

</div>

I found a difficulty to generate random number in JS. I dun know what’s the exact coding to require the math module and use it.

Could I get some help? Thanks!

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 15, 2015, 11:29am UTC](https://forums.fusetools.com/t/random-number-in-fusejs/3714/2 "2015-07-15T11:29:41Z")

</div>

[http://www.w3schools.com/jsref/jsref\_random.asp](http://www.w3schools.com/jsref/jsref_random.asp)

```auto
Math.random();

```

---

<div class="post-metadata">

**Author:** ![Mao](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@Mao](https://forums.fusetools.com/u/Mao)\
**Post date:** [July 16, 2015, 4:19am UTC](https://forums.fusetools.com/t/random-number-in-fusejs/3714/3 "2015-07-16T04:19:23Z")

</div>

Thank you. I found that I made a careless mistake to use it and that’s why I encountered the difficulty. Sorry for taking your precious time.
