JavaScript Convert string to float


Example

parseFloat accepts a string as an argument which it converts to a float/

parseFloat("10.01") // = 10.01