mirror of
https://github.com/typst/typst
synced 2025-08-19 01:18:32 +08:00
Compare commits
2 Commits
2f55785e1e
...
0cf6c41a34
Author | SHA1 | Date | |
---|---|---|---|
|
0cf6c41a34 | ||
|
61ce99fa38 |
@ -46,7 +46,7 @@ impl i64 {
|
|||||||
/// or smaller than the minimum 64-bit signed integer.
|
/// or smaller than the minimum 64-bit signed integer.
|
||||||
///
|
///
|
||||||
/// - Booleans are converted to `0` or `1`.
|
/// - Booleans are converted to `0` or `1`.
|
||||||
/// - Floats and decimals are truncated to the next 64-bit integer.
|
/// - Floats and decimals are rounded to the next 64-bit integer towards zero.
|
||||||
/// - Strings are parsed in base 10.
|
/// - Strings are parsed in base 10.
|
||||||
///
|
///
|
||||||
/// ```example
|
/// ```example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user