How to convert a char array to float in arduino C

Hi, I have a character array I need to convert to a float. Is this possible?

I tried float f = float(mychararray); but that does not work...

I believe you want something like

http://www.cppreference.com/wiki/c/string/atof