juggledad
b9c26b653f
use floor() and ceil() if input is a float and result is an interger - shows bad values in error if in incoming msg
2020-12-02 18:25:25 -05:00
juggledad
48db5bb829
fixed code setting defaults, added floor() and ceil() if result to be integer
...
I also added a status showing the from and to. This will help people see what is actually being used. i.e you add a random node then attach an inject to send msg.from as 4, you would think the result would be between 4 and 10 but since you did not clear out the 'From' value in the node, the result is from 1 to 10
2020-12-02 06:30:41 -05:00
juggledad
78bb05cc04
Changed code to allow for default values to be used
2020-11-14 06:08:35 -05:00
juggledad
b284f86520
Removed status msgs, added a tmp variable, kept parseInt to prevent rounding error when high value has a decimal value
2020-11-13 17:16:43 -05:00
juggledad
e68d012bf2
added better validation of inputs, added node status
2020-11-12 08:03:23 -05:00
juggledad
85a74b2e78
Had to IF statements broken on two lines, changed it so it's all on one line
2020-10-26 16:49:01 -04:00
juggledad
eaa1acf83a
Add option to dynamically pass in 'From' and 'To' - fixed bug when 'From' was greater than 'To' by flipping the two
2020-10-26 04:00:57 -04:00
Dave Conway-Jones
d32f11910b
clarify random node info language
2018-09-24 19:40:33 +01:00
Dave Conway-Jones
be79b6a1c6
add msg.property option to rbe, randon, smooth and base64 nodes
2018-01-30 21:42:14 +00:00
Dave Conway-Jones
316a2fd272
Re-lint a load of nodes
2017-01-29 17:45:44 +00:00
Dave Conway-Jones
a7247e898a
Update licenses and packages for all nodes
2016-11-06 20:26:19 +00:00
Nick O'Leary
e41893eccb
Random node always returns floating point
2015-04-22 13:18:55 +01:00
dceejay
9b56b6f4c3
add some more tests (and fixes for resulting bugs :-)
2015-03-31 15:15:38 +01:00
Dave C-J
ecbde5d3d5
Add Random number generator node.
2014-10-27 20:26:49 +00:00