Always add decimal when printing float
This commit is contained in:
parent
533c616cb8
commit
5c0f2414cd
31 changed files with 241 additions and 141 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue