MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / toFloat

Method toFloat

lib/ArduinoNative/src/WString.h:421–424  ·  view source on GitHub ↗

* Convert string to float. * * @return Float value of string. */

Source from the content-addressed store, hash-verified

419 * @return Float value of string.
420 */
421 float toFloat(void) const
422 {
423 return std::strtof(m_stdStr.c_str(), nullptr);
424 }
425
426 /**
427 * Convert string to double.

Callers 2

handleWebResponseMethod · 0.80
mqttTopicCallbackMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected