def TRUNC(number):
    """
    Truncates a number to its integer.
    See https://docs.mongodb.com/manual/reference/operator/aggregation/trunc/
    for more details
    :param number: The number or field of number
    :return: Aggregation operator
    """
    return {'$trunc': number}
