How to do round-off in Automation anywhere?


How to do round-off in Automation anywhere?
How to do arithmetical operation in Automation anywhere?
We can do arithmetical operation in automation anywhere in two different ways  
  • By using run script command
  • By using Arithmetical operational task bot from bot store  


By using run script command
 You can use the run script command in automation anywhere to run either a Vbscript or a java script file .
Step 1 : Add a new task bot
Step 2: Create a new .vbs file That is (Vb script file). You can also use JavaScript file (.js)

Arithemetic-Operation-Automation-Anywhere-Vbscript-File

Step 3: Open the file with note pad
Add the below given code (for round off methods only) and save. This is nothing kbut vb code for round off a decimal value.
Wscript.Stdout.Writeline(Round(Wscript.Arguments.Item(0),Wscript.Arguments.Item(1)))


Step 3 : Drag and drop run script command to the new task bot created.
                Select the file which we created earlier .
                Enter the parameters in the Parameter text box. For giving multiple values you need to put a space between them . Eg : if we give 2.01 1 then Wscript.Arguments.Item(0) will be 2.01 and  Wscript.Arguments.Item(1) will be 1 . Like that you can give multiple parameters. You can also give any variable as parameter
Select the return value if you need to use it somewhere else .
Arithemetic-Operation-Runscript-Automation-Anywhere


Step 5 : Run the task
RoundOff-Arithemetic-Operation-In-Automation-Aywhere


By using Arithmetical operational task bot from bot store
Follow the link to see the details of the task in bot store

Comments

  1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

    corporate training in chennai corporate training in chennai

    corporate training companies in india corporate training companies in india

    corporate training companies in chennai corporate training companies in chennai

    I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

    ReplyDelete
  2. I found decent information in your article about Benchtop Torque Tester. I am impressed with how nicely you described this subject, It is a gainful article for us. Thanks for share it.

    ReplyDelete
  3. Casino king - Casino in Jordan - Airjordan21 Retro
    Casino king - Casino in Jordan. Airjordan21 air jordan 18 retro yellow suede super site Retro. Find all 토토 사이트 넷마블 about the jordan 18 white royal blue from me games, equipment, accessories 메이저 토토사이트 샤오미 and air jordan 18 retro to me gaming experience!

    ReplyDelete

Post a Comment