def getValueTryRemoveTailZero(float_num):
    """
        try to remove .0 from an float number, 2.00 -> 2
        keep other float as it was, 2.02 -> 2.02
        :param float float_num
        :return float/int
    """

    int_num = int(float_num)
    if int_num == float_num:
        return int_num
    return float_num