Function hardware_interface::stof
Defined in File lexical_casts.hpp
Function Documentation
-
float hardware_interface::stof(const std::string &s)
Helper function to convert a std::string to float in a locale-independent way.
- Throws:
std::invalid_argument – if not a valid number or exceeds limits