mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 22:13:11 -05:00
Merge pull request #173 from chrboesch/issue172
description of excercise 066 refined
This commit is contained in:
commit
11d8df8b75
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
|
// values. Therefore, it follows that we just specify numeric
|
||||||
// types with specific sizes. The comptime numbers will be
|
// types with specific sizes. The comptime numbers will be
|
||||||
// coerced (if they'll fit!) into your chosen runtime types.
|
// 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_int = 12345;
|
||||||
var var_float = 987.654;
|
var var_float = 987.654;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue