eole-redis/creolefuncs/redis.py

12 lines
188 B
Python

# -*- coding: utf-8 -*-
#
# just add 2 numbers ...
#
def add(num1, num2):
return str(int(num1) + int(num2)).decode("utf-8")
def intAdd(num1, num2):
return int(num1) + int(num2)