mirror of
https://github.com/typst/typst
synced 2025-05-18 11:05:28 +08:00
fix(docs): correct function name in types.md (#1894)
Corrected the function name from `float` to `int` in the documentation.
This commit is contained in:
parent
1e21fac2ce
commit
88bcb8769a
@ -46,7 +46,7 @@ integers, integers cannot be smaller than `{-9223372036854775808}` or larger tha
|
|||||||
The number can also be specified as hexadecimal, octal, or binary by starting it
|
The number can also be specified as hexadecimal, octal, or binary by starting it
|
||||||
with a zero followed by either `x`, `o`, or `b`.
|
with a zero followed by either `x`, `o`, or `b`.
|
||||||
|
|
||||||
You can convert a value to an integer with the [`float`]($func/float) function.
|
You can convert a value to an integer with the [`int`]($func/int) function.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
```example
|
```example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user