Thread: Tip Calculator
View Single Post
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#1
Well, I haven't seen any tip calculators available for my n800, and I thought one might be useful, so I wrote one up really quick. Just put in the bill total, tip percent, and tax, and hit calculate! It also support splitting the bill between multiple people.

This is only my second python program, so there are most likely bugs here and there. Please post any bugs you find here, and I'll try to get them fixed as soon as possible. If there are any other features you'd like, also put those here.

Obligatory screenshot:


Deb file attached!

[edit] Updated to version 1.1! Screenshot above updated. Changelog:
  • Fixed splitting the bill -- you can now use the keyboard to enter the number of people.
  • Added tax inclusion. The tip will be calculated off the bill without tax (as it should), and then tax will be added.
  • Tax can be entered as a percent or as a price.

Note: for some reason, updating is funky. When updating, the application manager will not prompt for update, it will prompt for install. Don't worry. Everything works out fine.

[edit2] Updated to version 1.1.1! No visual changes. Just made sure all fields are numeric. From what I understand, this means that when using the hardware keyboard on the N810, you will NOT need to press the Fn key in order to input numbers. On the N800, you will need to press shift to see the number keys before you can input number (if you have auto-capitalize enabled). The behavior is a bit weird, but now all number fields will ONLY accept numbers.

[edit3] Up to version 1.2! This should (hopefully) fix problems with putting in numbers. n800 users will notice that only numbers and special keys show up on the keyboard now, but I am unsure how it will act for n810 users.
Attached Files
File Type: deb TipCalculator-1.2.0-1_all.deb (10.2 KB, 197 views)
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter

Last edited by TrueJournals; 2008-06-30 at 03:14. Reason: Version 1.1.1!
 

The Following 5 Users Say Thank You to TrueJournals For This Useful Post: