how to calculate percentage?

Ashwini Jadhao
Giga Guru

hi,

I want to calculate percentage dependent on two values .eg first value as 1 and second value as also 1.then the result is 100%.how?

can i use formula indicator.if yes then how the formula indicator is used in script.

or there is another way to calculate percentage.

1 ACCEPTED SOLUTION

Any update on this?

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

View solution in original post

3 REPLIES 3

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

try to check the following thread, it will give you an idea on how to calculate a percentage in a script:

https://community.servicenow.com/community?id=community_question&sys_id=365a1b88db8f534454250b55ca96...

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Any update on this?

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Capik27
Kilo Contributor

I think it can be much easier to find a way that can do the work quick. Most compatible way for me is percentage calculator, since I think it can give more personal time for me (I really love personal time). It works faster because of the intuitive interface and simple work of it. If someone is interested you can see how to work out percentage increase where is good description of it that can help ya...