Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
Thank you for your advice.
Issue
Scraped var 1: 20000
System resource var : 100000
ScrapedVar1<SystemResourceVar
It returns it as False.
When I do the following:
Scraped var 1: 20000 -> Convert it to a new variable 020000
System resource var : 100000
ScrapedVar1<SystemResourceVar
It returns it as True.
The issue at hand;
THe Scraped var can be from 1 to 1000000000.
Is there any better way to do this?
@huntenkill said in Number comparison:
Issue
Scraped var 1: 20000
System resource var : 100000ScrapedVar1<SystemResourceVar
It returns it as False.When I do the following:
Scraped var 1: 20000 -> Convert it to a new variable 020000
System resource var : 100000ScrapedVar1<SystemResourceVar
It returns it as True.The issue at hand;
THe Scraped var can be from 1 to 1000000000.
Is there any better way to do this?
You have the data in a variable as a string, convert it to a number. Through parseInt()

Here is the test script
Read more about data types here.