Cn Tip Calculator

Calculate tips and split bills. Support custom tip percentages, bill splitting, and currency formatting. Pure Python standard library, no API key required.

Audits

Pass

Install

openclaw skills install cn-tip-calculator

Tip Calculator

Calculate tips and split bills at restaurants.

Features

  • Calculate tip amount from bill total and percentage
  • Split bills among multiple people
  • Common tip percentages (15%, 18%, 20%, 25%)
  • Custom tip percentage support
  • Pure Python, no external dependencies

Usage

python3 scripts/tip_calculator.py --bill 85.50 --tip 18
python3 scripts/tip_calculator.py --bill 120.00 --tip 20 --split 4

Output

Returns tip amount, total, and per-person amount when splitting.