<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def value(self):
 """ Return the value of this SpinBox. """

        if self.opts['int']:
            return int(self.val)
        else:
            return float(self.val)