Skip to content

Commit

Permalink
Convert to float always.
Browse files Browse the repository at this point in the history
  • Loading branch information
vuksanv committed Jul 5, 2012
1 parent 1eb6ffd commit 936936d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions jmxsh/python_modules/jmxsh.py
Expand Up @@ -61,11 +61,6 @@
def get_numeric(val): def get_numeric(val):
'''Try to return the numeric value of the string''' '''Try to return the numeric value of the string'''


try:
return int(val)
except:
pass

try: try:
return float(val) return float(val)
except: except:
Expand Down

0 comments on commit 936936d

Please sign in to comment.