def onaccept(self, value):
        return str(self.formattedAnswer(value))

    # -------------------------------------------------------------------------
Method to format the value that has just been put on the database
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3QuestionTypeNumericWidget.onaccept