num validation