the tonumber function gives an error when the string is a decimal other wise when the string is number it works fine
example toNumber("0.2") outputs an error
while toNumber("5556") works fine