Read a float number from serial port

hello all, new to forum, hoping I can find the answer of how to read a float number from the serial port. I am implementing a pid controller to my drone, using the HAL library and APM 2.6. hoping to tune the PID on the go. Thanks.