![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi Again, Lets say I have - $Totala$ = 76 $Divider$ = 10 - Then if I were to do a division $Answer$ = $Total$ / $Divider$ will result in Answer being 7.6 How can I round this to being 7 Plus Is there a simple way of obtaining the Modulus remainder in this case '6' |
| |||
|
Hello, You can use String Manipulation command to get the value before '.' and use modulo (%) operator with Variable Operation command to get the reminder. We have attached a sample task for your reference. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Before running this task, create user variables, $Totala$ and $Divider$. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |