It is inaccurate to use a float for versions. `17.10` is not the same as `17.1`, but by using casting as a float they both appear as `17.1`.