def makeSemVer(version):
    """Turn simple float number (0.1) into semver-compatible number
    for comparison by adding .0(s): (0.1.0)"""

    # Make string
    version = str(version)

    if version.count(".") < 2:

        # Strip leading zeros
        version = ".".join(map(str, list(map(int, version.split(".")))))

        # Add .0(s)
        version = version + (2 - version.count(".")) * ".0"

    return version