function parseFloat parseFloat(string: string): number Converts a string to a floating-point number. Parameters string: string A string that contains a floating-point number. Return Type number