Change docs to randomInt
This commit is contained in:
1 parent
99a28e59f1
commit
6b9e78d269
61 files changed
+152
-152
No files matched your search
@@ -39,7 +39,7 @@ the @boardname@ will return a random Number between 0 and the parameter limit.
|
||||
|
||||
```blocks
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
basic.showNumber(Math.random(10))
|
||||
basic.showNumber(Math.randomInt(10))
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user