A small application which calculates the distribution of cost for a restaurant bill
BillSplit is a small webapp I developed which calculates the individual costs owed by persons who contributed to a bill, more specifically a restaurant bill. I created this app in response to the hassle that my friends, colleagues and I go through when trying to determine the best way to split a bill when one or more of us have banknotes that are greater than what we need. This usually results in people owing each other money or getting short changed. The purpose of BillSplit is to alleviate this problem by calculating what everyone owes and how much change they are owed based on how much they spent.
The app begins by asking for the number of people contributing and the sales tax of the bill. Then, the app asks the individual costs per person and how much each person contributed. Several calculations are then made based on this information provided. Such calculations include the amount of money each individual's purchase comes out to be with tax, how much they owe or how much change they should receive based on what they contributed, and how much tip they should contribute based on the 15% and double tax rules. In addition to the individual level, the app also calculates this information as totals and as even split contributions.
The current version of this app was developed using near vanilla JavaScript with some JQuery elements.
v1.1 - Added calculations for individual contributions.