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

Method toInt

lib/ArduinoNative/src/WString.h:411–414  ·  view source on GitHub ↗

* Convert string to integer. * * @return Integer value of string. */

Source from the content-addressed store, hash-verified

409 * @return Integer value of string.
410 */
411 long toInt(void) const
412 {
413 return std::strtol(m_stdStr.c_str(), nullptr, 10);
414 }
415
416 /**
417 * Convert string to float.

Callers 7

par2JsonMethod · 0.80
setTopicMethod · 0.80
removeTopicMethod · 0.80
beginMethod · 0.80
handleRspHeaderMethod · 0.80
addStatusLineMethod · 0.80
execButtonActionFunction · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected