I have a value $17.50 as a string

how would i convert it to a double 17.50?