converting String to float

pedro2012:
:slight_smile: i'm using Strings,
i didn't find examples for "toCharArray" :roll_eyes:

char buf[40]; // 40 is one more than the maximum number of characters we will be able to work with.

incomingData.toCharArray(buf,40);