added comments
This commit is contained in:
parent
128e9ba59f
commit
37f7725925
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ in quotes (i.e. as a string).
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# If 'value' is not an integer, convert it to a float and failing that, a string.
|
# If 'value' is not an integer, convert it to a float and failing that, a string.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def conv(value):
|
def conv(value):
|
||||||
try:
|
try:
|
||||||
return int(value)
|
return int(value)
|
||||||
|
|
Loading…
Reference in a new issue