[feature] validate range of number