how can i convert a string --> char digits[100]="123.25" <--- to data type float ?

thanks.