parameters: (self)
return_statement: return o
docstring: Return the offset value as a float in mm.
docstring_summary: Return the offset value as a float in mm.
docstring_tokens: Return the offset value as a float in mm .
function: def getOffset(self):
          """Return the offset value as a float in mm."""
          try:
              o = float(self.taskd.form.fieldOffset.text())
          except Exception:
              o = FreeCAD.Units.Quantity(self.taskd.form.fieldOffset.text())
              o = o.Value
          return o
function_tokens: def getOffset ( self ) : try : o = float ( self . taskd . form . fieldOffset . text ( ) ) except Exception : o = FreeCAD . Units . Quantity ( self . taskd . form . fieldOffset . text ( ) ) o = o . Value return o