# Bug in node-red-node-random?

**URL:** <https://discourse.nodered.org/t/bug-in-node-red-node-random/38618>\
**Category:** General\
**Created:** [5 January 2021 21:52 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618 "2021-01-05T21:52:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [5 January 2021 21:52 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618/1 "2021-01-05T21:52:08Z")

</div>

When configured to generate real number bigger than 100 the output is string, not number.  
Between 1 to 10 works correctly.  
Don't know exact value were it breaks.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/d/3dd3d0ff95e5909402d56f086e000365fa01b114.png)

node-red-node-random v0.3.0

```auto
5 Jan 23:30:28 - [info] Node-RED version: v1.2.6
5 Jan 23:30:28 - [info] Node.js version: v14.15.3
5 Jan 23:30:28 - [info] Windows_NT 10.0.18363 x64 LE
5 Jan 23:30:29 - [info] Loading palette nodes
5 Jan 23:30:30 - [info] Dashboard version 2.26.1 started at /ui
5 Jan 23:30:30 - [info] Settings file : C:\Users\Kasutaja\.node-red\settings.js
5 Jan 23:30:30 - [info] Context store : 'default' [module=localfilesystem]
5 Jan 23:30:30 - [info] User directory : \Users\Kasutaja\.node-red
5 Jan 23:30:30 - [warn] Projects disabled : git command not found
5 Jan 23:30:30 - [info] Flows file : \Users\Kasutaja\.node-red\flows_-PC.json
5 Jan 23:30:30 - [info] Server now running at http://127.0.0.1:1880/

```

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [5 January 2021 22:13 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618/2 "2021-01-05T22:13:25Z")

</div>

yikes - good spot - fixed in 0.3.1

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [5 January 2021 22:23 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618/3 "2021-01-05T22:23:23Z")

</div>

> [@dceejay](#):
>
> fixed in 0.3.1

21 minutes...  
Does it always take this long for bugs to be fixed?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [5 January 2021 22:42 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618/4 "2021-01-05T22:42:25Z")

</div>

Timing is everything.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 January 2021 22:42 UTC](https://discourse.nodered.org/t/bug-in-node-red-node-random/38618/5 "2021-01-19T22:42:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
