mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
description specified
This commit is contained in:
parent
00e6ad1f98
commit
2ca76b8388
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ pub fn main() void {
|
|||
// values. Therefore, it follows that we just specify numeric
|
||||
// types with specific sizes. The comptime numbers will be
|
||||
// coerced (if they'll fit!) into your chosen runtime types.
|
||||
// For this it is necessary to specify a size, e.g. 32 bit.
|
||||
var var_int = 12345;
|
||||
var var_float = 987.654;
|
||||
|
||||
|
|
Loading…
Reference in a new issue