Skip to content

Commit a6ca7db

Browse files
committed
Add STR documentation
1 parent 3db478c commit a6ca7db

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

docs/str.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#STR
2+
3+
##Syntax
4+
5+
6+
```
7+
STR(<numeric value>)
8+
```
9+
10+
##Description
11+
12+
Converts the given numeric value to a String. It's the opposite of [VAL](val.md)
13+
Returned value type is [String](types.md#UByte).
14+
15+
##Examples
16+
17+
```
18+
REM Convert numeric expression to value
19+
LET a = -5.2
20+
PRINT STR(a + 1)
21+
```
22+
23+
##Remarks
24+
25+
* This function is 100% Sinclair BASIC Compatible
26+
27+
##See Also
28+
29+
* [CHR](chr.md)
30+
* [CODE](code.md)
31+
* [STR](str.md)
32+
* [VAL](chr.md)

0 commit comments

Comments
 (0)