Add decimal to function