Make all String float conversion methods be 64-bit

This commit is contained in:
Aaron Franke
2020-07-27 18:38:53 -04:00
parent 4e825539e5
commit 56e2c6c704
25 changed files with 106 additions and 125 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ String StringBuffer<SHORT_BUFFER_SIZE>::as_string() {
template <int SHORT_BUFFER_SIZE>
double StringBuffer<SHORT_BUFFER_SIZE>::as_double() {
current_buffer_ptr()[string_length] = '\0';
return String::to_double(current_buffer_ptr());
return String::to_float(current_buffer_ptr());
}
template <int SHORT_BUFFER_SIZE>