Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Printf.sprintf "%1.F" 123.456 returns "12." !! #4902
Original bug ID: 4902
The summary tells everything.
The fix is easy:
diff --git a/stdlib/printf.ml b/stdlib/printf.ml