Beispiel #1
0
def evaluate_Subtract(context, query):
    return arithmetic_operation(context, query, lambda x, y: x - y)
Beispiel #2
0
def evaluate_Divide(context, query):
    return arithmetic_operation(context, query, lambda x, y: float(x) / y)
Beispiel #3
0
def evaluate_Add(context, query):
    return arithmetic_operation(context, query, lambda x, y: x + y)
Beispiel #4
0
def evaluate_Multiply(context, query):
    return arithmetic_operation(context, query, lambda x, y: x * y)