Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Literals-Integer/Rust/literals-integer.rust
Normal file
7
Task/Literals-Integer/Rust/literals-integer.rust
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
10 // Decimal
|
||||
0b10 // Binary
|
||||
0x10 // Hexadecimal
|
||||
0o10 // Octal
|
||||
1_000 // Underscores may appear anywhere in the numeric literal for clarity
|
||||
10_i32 // The type (in this case i32, a 32-bit signed integer) may also be appended.
|
||||
10i32 // With or without underscores
|
||||
Loading…
Add table
Add a link
Reference in a new issue