put in a check for python version as the conversion from float to string is different