2018-01-31 02:02:22 +01:00
|
|
|
# show Number
|
|
|
|
|
|
|
|
Show a number on the screen at the line you select.
|
|
|
|
|
|
|
|
```sig
|
|
|
|
brick.showNumber(0, 1);
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2018-01-31 05:58:18 +01:00
|
|
|
* **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`.
|
2018-01-31 02:02:22 +01:00
|
|
|
|
|
|
|
## 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)
|