Odak modu

Rust Fundamentals

Strings and Text:Formatting Values

When converting the content of any data or "println!" macro type to string, Rust offers a variety of formatting options. For example, when converting a decimal number to a string or writing it to the screen, we can format or delete the decimal part.

You can find detailed further information from Rust Official documentation: 

https://doc.rust-lang.org/rust-by-example/hello/print.html


Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!