Message

foo must be a percentage

Explanation

This value must be an floating point number greater than or equal to zero and less than or equal to 100. It can not be negative, or a fraction, or a string, or blank.

Solution

Make the specified value a non-negative floating point number less than 100.0.

Not clear? Disagree?

You might be able to find help in one of these fine resources.