mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Make all String float conversion methods be 64-bit
This commit is contained in:
parent
4e825539e5
commit
56e2c6c704
25 changed files with 106 additions and 125 deletions
|
@ -646,7 +646,7 @@ GDScriptTokenizer::Token GDScriptTokenizer::number() {
|
|||
int64_t value = number.bin_to_int();
|
||||
return make_literal(value);
|
||||
} else if (has_decimal || has_exponent) {
|
||||
double value = number.to_double();
|
||||
double value = number.to_float();
|
||||
return make_literal(value);
|
||||
} else {
|
||||
int64_t value = number.to_int();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue