The function returns a real number; the content-length of the download. This is the value read from the Content-Length: field.
I see no reason why this is a real number but the underlying CURL library returns a double.