Problems with converting a String to a float

Can you please post your code for this?