This is a javascript script to calculate each person's share when multiple friends pay for each other on a trip or something.