Solved

Calculating Percentage Difference

Posted on 2007-03-21
2
6,521 Views
Last Modified: 2011-10-03
What is the easiest way to calculate the percentage increase between two numbers?

For example, if I have one number - 13.00, and another - 15.75, what is the easiest way to calculate the percentage increase?
0
Comment
Question by:marmaxx
  • 2
2 Comments
 
LVL 13

Expert Comment

by:Webstorm
ID: 18765819
Hi marmaxx,

the easiest way is :
   100.0 * secondValue / firstValue - 100.0;
0
 
LVL 13

Accepted Solution

by:
Webstorm earned 500 total points
ID: 18765829
For your example :
   100.0 * 15.75 / 13.00 - 100.0;
   = + 21,15 %
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question