method i32.toString
The decimal text of the value (what interpolation {x} shows).
Example:
fn main() io {
let x: i32 = 42
print(x.toString())
}Output
42
pub(api) fn toString() -> strComplexity. O(1).
Since. 1.0.0-beta
Returns
str
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/numbers.oxl:688