You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Always add decimal when printing float
This commit is contained in:
@@ -1736,7 +1736,7 @@ String Variant::stringify(int recursion_count) const {
|
||||
case INT:
|
||||
return itos(_data._int);
|
||||
case FLOAT:
|
||||
return rtos(_data._float);
|
||||
return String::num_real(_data._float, true);
|
||||
case STRING:
|
||||
return *reinterpret_cast<const String *>(_data._mem);
|
||||
case VECTOR2:
|
||||
|
||||
Reference in New Issue
Block a user