Skip to content
crymis edited this page May 2, 2014 · 1 revision

The PaymentApp is my first own AngularJS project.

This little Website is mostly for playing around with JavaScript, HTML and CSS. The idea behin the PaymentApp is, that i needed some script to calculate how much a person owns me or in reverse how much i own to someone, if we go getting some groceries. There are so many numbers and we didn't want to calculate everything everytime again.

So i sum up a function that just calculates how many the one owns the one who paid. Give in the total sum (without pawn), the price A pays for himself and the price B pays for himself.

The calculated number is the price, B has to give A afterwards (if A paid the bill 😄 )

Thats pretty much it! :)

Clone this wiki locally