BPoint::PrintToStream: print some decimal places

Fixes #16505.

Change-Id: I6693b4c4c64d9e6559091bc2c90282db0f294561
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8499
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
ayu-ch
2024-10-22 15:20:20 +00:00
committed by waddlesplash
parent 09abc534f3
commit b88d29aa2c
+1 -1
View File
@@ -32,7 +32,7 @@ BPoint::ConstrainTo(BRect rect)
void
BPoint::PrintToStream() const
{
printf("BPoint(x:%.0f, y:%.0f)\n", x, y);
printf("BPoint(x:%f, y:%f)\n", x, y);
}