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
25 changed files with 106 additions and 125 deletions

View File

@ -645,7 +645,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
if (hexa_found) {
tk.constant = (double)str.hex_to_int(true);
} else {
tk.constant = str.to_double();
tk.constant = str.to_float();
}
tk.line = tk_line;