From 9f314ce8e6f992ce43294f092149193655a7fe24 Mon Sep 17 00:00:00 2001 From: markuxcu Date: Fri, 3 Apr 2026 14:25:44 +0200 Subject: [PATCH] exercise 60: added hint on correct format --- exercises/060_floats.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercises/060_floats.zig b/exercises/060_floats.zig index 90da930..c9d9800 100644 --- a/exercises/060_floats.zig +++ b/exercises/060_floats.zig @@ -49,6 +49,8 @@ pub fn main() void { // notation. Experiment with '{d}' and '{d:.3}' to see how // decimal formatting works, or try '{e}' and '{e:.3}' for // scientific notation. + // NOTE: The weight of the shuttle is a huge number, a scientific notation + // may be more appropriate. print("Shuttle liftoff weight: {d:.0} metric tons\n", .{shuttle_weight / 1e3}); }