Skip to content
CyberLoop-devPublic

About

๐Ÿ• Split the bill without the awkward math. ๐Ÿ’ธ Equal or itemized, tax and tip included, and the cents always add up. Zero dependencies, 100% in your browser. โœจ

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SplitEasy banner

SplitEasy ๐Ÿ•

Split the bill without the awkward math. Equal or by items, tax and tip included, and the cents always add up. ๐Ÿ’ธ

No accounts, no build step, no dependencies. Everything runs in your browser and nothing is stored.

โœจ What you get

  • โš–๏ธ Two modes: split the whole bill equally, or enter what each person ordered plus a shared amount
  • ๐Ÿงพ Tax and tip as percentages (tip is on the pre-tax amount)
  • ๐Ÿงฎ Exact cents: shares are rounded fairly and always add up to the total
  • ๐Ÿ‘ฅ 1 to 12 people with editable names
  • ๐Ÿ“‹ Copy summary for your group chat
  • ๐ŸŒ“ Light and dark theme follow your system

โœ… Tested

node split.test.js

Checks 100.00 / 3 with tax and tip (43.34, 43.33, 43.33), an itemized example, and 2,000 random bills whose shares must add up to the total exactly.

๐Ÿš€ Run it

git clone https://github.com/CyberLoop-dev/spliteasy.git
cd spliteasy
python3 -m http.server 8000   # or just open index.html

๐Ÿ“ Structure

index.html  styles.css  app.js   # interface
split.js                         # maths, no DOM
split.test.js                    # tests
assets/                          # logo and banner

โš ๏ธ Limitations

  • Tax and tip are shared in proportion to each person's subtotal.
  • No uneven splitting of a single shared item, and no currency conversion.

๐Ÿ“„ License

MIT

About

๐Ÿ• Split the bill without the awkward math. ๐Ÿ’ธ Equal or itemized, tax and tip included, and the cents always add up. Zero dependencies, 100% in your browser. โœจ

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages