Add a function to parse the entire payload as a float.