compareNum