rust convert i32 to strinig code example Example: convert number to string rust let x: u32 = 10; let s: String = x.to_string(); println!("{}", s);