Skip to content

Commit d6c76fc

Browse files
committed
docs: add more info
1 parent 246ad28 commit d6c76fc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

versioned_docs/version-v2/functions/int.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Converts an integer to a float by adding a decimal part of `.0` to the number
4343
5.0
4444
```
4545

46+
The value `0` will be converted to `0.0`.
47+
4648
## len
4749
```ts
4850
len(): int
@@ -75,4 +77,4 @@ Converts an integer to a string and returns it
7577
#### Output
7678
```textwire
7779
5 and -10
78-
```
80+
```

versioned_docs/version-v2/language-elements/language-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Braces statements are special Textwire constructs that begin with `{{` and end w
4444
## Textwire with JavaScript
4545
Many JavaScript frameworks and libraries use the `@` symbol or `{{ }}` for their own purposes. To avoid conflicts, you escape it with a backslash `\`.
4646
47-
For example, `\@if(x == 1)` and `\{{ x = 1 }}` will not be parsed as Textwire directives or bracesstatements.
47+
For example, `\@if(x == 1)` and `\{{ x = 1 }}` will not be parsed as Textwire directives or braces statements.
4848
4949
## Types and Literals
5050
Textwire has a different type system that Go. When you pass a variable to Textwire, it will be automatically converted to a Textwire type. Here is a list of supported types that you can pass to Textwire or define in Textwire:

0 commit comments

Comments
 (0)