Refactor numeric.c

It is unnecessary to assign temp value.