This function will return the fdf version for the given fdf_document, or the toolkit api version number if no parameter is given.
For the current FDF toolkit 5.0 the api version number is '5.0' and the document version number is either '1.2', '1.3' or '1.4'.
See also fdf_set_version().