diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-31 20:14:39 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-31 20:14:39 -0500 |
commit | 363c0b5fec45f9f5d24ff9578ebdca2544a511d8 (patch) | |
tree | 037893280156c6610b376b2b32c709241b6ea480 /core/math/vector3.cpp | |
parent | 7982030b25fd204bacfe39b5137b859c27fbbdd9 (diff) | |
parent | 5c0f2414cd6d988a4eab93fc21bc3b80388907e8 (diff) | |
download | redot-engine-363c0b5fec45f9f5d24ff9578ebdca2544a511d8.tar.gz |
Merge pull request #47502 from KoBeWi/add_0
Always add decimal when converting float to string
Diffstat (limited to 'core/math/vector3.cpp')
-rw-r--r-- | core/math/vector3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector3.cpp b/core/math/vector3.cpp index 1e90002665..e18ac3b011 100644 --- a/core/math/vector3.cpp +++ b/core/math/vector3.cpp @@ -165,7 +165,7 @@ bool Vector3::is_finite() const { } Vector3::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ", " + String::num_real(z, false) + ")"; + return "(" + String::num_real(x, true) + ", " + String::num_real(y, true) + ", " + String::num_real(z, true) + ")"; } Vector3::operator Vector3i() const { |