'num2 / num1 * 100'

def _get_rate(self, data):

    result = '0.0'
    if ((len(data) == 2) and (float(data[0]) != 0)):
        result = ((float(data[1]) / float(data[0])) * 100)
        if (result < 1):
            result = ('%.2f%%' % result)
        else:
            result = ('%.0f%%' % result)
    return result
