Number to convert validation