You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 😄 )