paid_value = self.paidinput.GetValue().strip()

I have this line of code to take a number from the paidinput field, but i need the value as an integer, how would i go about this?

Make it an integer with int()

>>> paid_value = '55'
>>> type(paid_value)
<type 'str'>
>>> paid_value = int(paid_value)
>>> type(paid_value)
<type 'int'>
>>> paid_value ** 5
3025