aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 345ac7922..a8511b29e 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -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);