openroberta-lab icon indicating copy to clipboard operation
openroberta-lab copied to clipboard

Issue #1643 Fix Random 0.0-1.0

Open Andy1978 opened this issue 1 year ago • 0 comments

Random(100) / 100 always evaluates to 0 due to integer division. The provided patch forces a floating point division. Tested on NXT with nbc 1.2.1.r4 and original Lego firmware 1.29

Andy1978 avatar Mar 12 '24 10:03 Andy1978