say I have something like this code:
const std = @import("std");
pub const struck = struct {
a: f32 = 240,
b: f32 = 30000,
c: f32 = 666,
};
pub fn main() !void {
const s: struck = struck{};
std.debug.print("{}\n", .{s});
}
it will output this
main.struck{ .a = 2.4e2, .b = 3e4, .c = 6.66e2 }
but what I really wanted was this
main.struck{ .a = 240 .b = 30000 .c = 666 }
Other than putting {d} for every struct value, is there an easier way for me to format this as non-scientific numbers?