def to_int(value):
    return int(value)

def identity(value):
    return value
def to_int(value, num=None):
    return int(value)


def to_float(value, num=None):
    return float(value)


def identity(value, num=None):
    return value
Add to_float function and add num keyword