Template Function apex::stod
Defined in File base_string.hpp
Function Documentation
-
template<::size64_t STRING_BUFFER_SIZE>
inline ::float64_t apex::stod(const apex::BaseString<STRING_BUFFER_SIZE> &str) noexcept Convert a string to a 64-bit float. The function internally uses
strtod
standard call. See POSIX manpages for the full specs: https://www.unix.com/man-page/posix/3/strtof/.- Parameters
str – [in] is input string value
- Returns
return float value corresponding to the string value. See
strtod
documenation. Six significant digits are printed.