Tripbooks is a project mainly written in ..., it's free.
HTML5 app for calculating shared trip expenses for a group. Works offline.
TripBooks
HTML5 app for calculating shared trip expenses. Simple app (one file), using local SQL storage.
Try it out here: http://fattarsi.com/m/html5/tripbooks/