is_perc function

Verify that input is a percentage (numeric value from 0 to 100).