mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-05 10:14:05 +00:00
Fix fmt integer width printing
This commit is contained in:
@@ -13,7 +13,7 @@ main :: proc() {
|
||||
x := 624.123;
|
||||
s := strconv.format_float(buf[:], x, 'f', 6, 64);
|
||||
fmt.println(s);
|
||||
fmt.printf("%.3f\n", x);
|
||||
fmt.printf("%3d\n", 102);
|
||||
|
||||
i := 123;
|
||||
fmt.println(123);
|
||||
|
||||
Reference in New Issue
Block a user