MK

Hi All

 

Can you please tell me how to go about adding 2 numbers in ARIS scripting.

When i declare the variables and use "+" to add the numbers i see that they are concatinating

but not adding up.Could you please tell how to go about it.

 

Thanks and Regards

Manojna Kadiri

by Nikita Martyanov
Posted on Sat, 07/14/2012 - 14:10

You have to use Number() function. Example:

var3=Number(var1)+Number(var2)

Does it work?

0
by Anja Michalke
Posted on Mon, 07/16/2012 - 12:47

If Nikitas recommendation does not help, can you post your code?

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock