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.
|
||||
|
||||
|
||||
|
||||
def conv(value):
|
||||
try:
|
||||
return int(value)
|
||||
|
|
Loading…
Reference in a new issue