validates that price is an integer