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