Refactor numeric.c

It is not necessary to assign value to temp variable.