4f70d341e4
* Start on the 'brick' api topics * Add the delay to clear screen example * Better output for clearsceen example
24 lines
503 B
Markdown
24 lines
503 B
Markdown
# show Number
|
|
|
|
Show a number on the screen at the line you select.
|
|
|
|
```sig
|
|
brick.showNumber(0, 1);
|
|
```
|
|
|
|
## Parameters
|
|
|
|
**value**: a [number](/types/number) to show on the brick's screen.
|
|
**line**: The line number on the screen where the value is displayed. The line numbers for the screen start with line `1`.
|
|
|
|
## Example
|
|
|
|
Show the number `1000` on the screen.
|
|
|
|
```blocks
|
|
brick.showNumber(1000, 1);
|
|
```
|
|
|
|
## See also
|
|
|
|
[show string](/reference/brick/show-string), [show value](/reference/brick/show-value) |