openroberta-lab
openroberta-lab copied to clipboard
Issue #1643 Fix Random 0.0-1.0
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