parsInt is better
i added jquery validation and parseInt around the input fields