support 0.percent_of_the_time

modify percent_of_the_time error message accordingly