If you're talking about the function to compare 2 different items or database values, that isn't so hard to accomplish, though u have to set it up in a database, or PHP/ASP wont understand what to do with the numbers its given, then it can calculate a deffict between them and so on.