So let's say I have a line, '$3,444.11' . How to convert this to float 3,444.11 ? I have a form field. The user can insert "3,444.11" , "3444.11" or "$3,444.11 β or "β¬3,444.11" . I need 3,444.11 as a float. Should I resort to regex? Or is there a function 'with a view?
source share