code: def _cast_float(self, value):
          
          try:
              return float(value)
          except ValueError:
              msg.err("Cannot convert {} to float for line {}.".format(value, self.identifier))
              exit(1)
docs: Returns the specified value as float if possible.