Ruby string to_f ... error?
5 answers
What language do you work in? I guess he heals. "" as a separator of thousands (which in this case is in the wrong place) and "," as a decimal point.
Try
"9,99".to_f ... but if it works, it probably depends on the current culture of the system, and you should look to find a culturally invariant way of transformation.
+3