Right click this window and select "view source" in order to copy the source for this script.
Percent Increase/Decrease
This full application script calculates the increase or decrease in percentage, from one number to the next. It demonstrates value assignments in the input statement. View the source.