cast string value into float