Fix bug in version number parsing-
- number was parsed to float but in this case it is not possible to youse sub versions like 2.7.1