You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Always add decimal when printing float
This commit is contained in:
@@ -203,7 +203,7 @@ bool Vector2::is_finite() const {
|
||||
}
|
||||
|
||||
Vector2::operator String() const {
|
||||
return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ")";
|
||||
return "(" + String::num_real(x, true) + ", " + String::num_real(y, true) + ")";
|
||||
}
|
||||
|
||||
Vector2::operator Vector2i() const {
|
||||
|
||||
Reference in New Issue
Block a user