'Explicitly convert a string to numeric value and format as a
percentage'

def _cast_percentage(self, value):

    match = PERCENT_REGEX.match(value)
    if match:
        self.number_format = numbers.FORMAT_PERCENTAGE
        return (float(match.group('number')) / 100)
