was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

🚨`Random Number 'float' object cannot be interpreted as an integer

Open aimpowerment opened this issue 11 months ago • 1 comments

Hello Everybody... When I load a random node and set float, the following error message appears:

Random Number
'float' object cannot be interpreted as an integer

Maybe the minimum/maximum fields cause the problem because they are floats. How can I fix this and ensure that it is included in the next update?

Yes I know there is a workaround to use the float option and use a "float to int" node, but this is not nice and you need a one more custom nodes (e.g. Bjornulf_custom_nodes)

aimpowerment avatar Jan 09 '25 10:01 aimpowerment

@aimpowerment try setting the number type to float but still connecting it on the int point. That works for me.

Image

tilleraj avatar Mar 27 '25 22:03 tilleraj