Make all String float conversion methods be 64-bit

This commit is contained in:
Aaron Franke 2020-07-24 14:07:57 -04:00
parent 4e825539e5
commit 56e2c6c704
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
25 changed files with 106 additions and 125 deletions

View file

@ -489,7 +489,7 @@ Error VisualScriptExpression::_get_token(Token &r_token) {
r_token.type = TK_CONSTANT;
if (is_float) {
r_token.value = num.to_double();
r_token.value = num.to_float();
} else {
r_token.value = num.to_int();
}