- Регистрация
- 31.03.2011
- Сообщения
- 26
- Благодарностей
- 0
- Баллы
- 1
Newbie question here... I am trying to divide 1 variable by another or a fixed number.. for example, I am using the Take DOM command to scrape the total number of results off of a page and put that # into a variable called ResultCount. I then know that there are 25 results per page, so I want to create a counter from ResultCount by dividing ResultCount by 25 and looping the pages to scrape by the rounded up results # (for example there are 140 results so 140 / 25 = 5.6 rounded up to 6. So we need to run the scraper for 6 loops...
I am having difficulty how or where standard mathematic calculations are done ... such as resolving simple X - Y, X + Y, X / Y, and X * Y when working with scraped values... Is there a different way to treat text or numeric variables as I have not seen where this would be controlled...
Im sorry but I have searched all videos and this forum for these simple calculation answers and cant find. I great appreciate any and all help provided! Thanks
All the best,
Gene
I am having difficulty how or where standard mathematic calculations are done ... such as resolving simple X - Y, X + Y, X / Y, and X * Y when working with scraped values... Is there a different way to treat text or numeric variables as I have not seen where this would be controlled...
Im sorry but I have searched all videos and this forum for these simple calculation answers and cant find. I great appreciate any and all help provided! Thanks
All the best,
Gene