1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-04-23 18:35:13 +02:00

description specified

This commit is contained in:
Chris Boesch 2023-01-29 17:52:11 +01:00
parent f6cc2d0805
commit 00c749f981

View File

@ -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;