Update helper.c

add double