def RepresentsFloat(self, s):
    try:
        float(s)
        return True
    except ValueError:
        return False
def RepresentsFloat(self, s):
    try:
        float(s)
        return True
    except ValueError:
        return False