TipCalc V1.01  (2002/06/28)
TipCalc Help for CASIO PV Unit

Information: http://www.pocket-viewer.com/
E-mail     : webmaster@pocket-viewer.com

--------------------------------------------------------------------------------
Version Up

2001/03/12 ------ Version 1.00

2002/06/28 ------ Version 1.01

1. In value input window, when you click the [Menu Bar], the system menu can pull
   down. Now it was disabled.

     Updated source file: TipCalc.c
--------------------------------------------------------------------------------
What's TipCalc?

TipCalc is a very practicality tool about calculating a bill. 

--------------------------------------------------------------------------------
How to use TipCalc?

At beginning the all area is hyphen(-) but "Tip". You can touch the hyphen to
input number you want.

The "Tip%" is equal to "10%" by default.

All of the other items will be cleared when you set "Tip%".

The "#People" is equal to 1 by default. The "#People" can't be equal to zero.

When you input "Bill", "Tip Amount", "Total", "#People" and "Ttl/Person", system
will think you input nothing if you press "Clr" and "Set".

When you input "Bill", "Tip Amount", "Total", "#People" and "Ttl/Person", system
will make the value equal to which you inputted last time if you press "Exit".

"CPT" is a button that intend for you to count the result, if you don't press
"CPT" button, all the result is just as it is but you inputted.

In normally the max inputted number is "9,999,999,999", if the result you got is
over than "9,999,999,999", it can not be displayed.
--------------------------------------------------------------------------------
For Example:

1. Calculate "Bill":
    A: If you input nothing, can't calculate;
	    Example:       Bill:-	->-
			    Tip:10%
		     Tip Amount:-
   			  Total:-
			#People:1
		     Ttl/Person:-

    B: If "Tip" is equal to "0%":
	a: If you have only inputted "TipAmount" can't calculate.
	    Example:       Bill:-	->-
			    Tip:0%
		     Tip Amount:5
   			  Total:-
			#People:1
		     Ttl/Person:-

	b: If you have inputted "TipAmount" and "Total", "Bill" is equal to the value
	     of "TipAmount" subtract from "Total". If "Bill" is less than zero make
	     "Bill" equal to zero.
	    Example:       Bill:-    ->5           Bill:-     ->0
			    Tip:0%		    Tip:0%
		     Tip Amount:5	     Tip Amount:10
   			  Total:10		  total:8
			#People:1		#People:1
		     Ttl/Person:-	     Ttl/Person:-

	c: If you have only inputted "TipAmount" and "Ttl/Person", "Bill" is calculated 
	     according to "TipAmount" and "Ttl/Person". If "Bill" is less than zero 
	     make "Bill" equal to zero.
	    Example:       Bill:-    ->15
			    Tip:0%
		     Tip Amount:5
   			  Total:-
			#People:2
		     Ttl/Person:10

    C: If "Tip" is not equal to "0%"."Bill" is calculated according to "TipAmount",
             "Total" or "Ttl/Person" in turn.
	    Example:       Bill:-    ->50        Bill:-    ->136.36       Bill:-    ->90.91
			    Tip:10%               Tip:10%	           Tip:10%
		     Tip Amount:5	   Tip Amount:-	      	    Tip Amount:-
   			  Total:-		Total:150		 Total:-
			#People:1	      #People:1                #People:2
		     Ttl/Person:-	   Ttl/Person:-  	    Ttl/People:50

2. Calculate "TipAmount":
    A: If you input nothing, can't calculate;
    B: "TipAmount" is calculated according to "Bill", "Total" or "Ttl/Person" in turn.
	    Example:       Bill:5	         Bill:-		          Bill:-
			    Tip:10%               Tip:10%	           Tip:10%
		     Tip Amount:-  ->0.5   Tip Amount:-   ->13.64   Tip Amount:-    ->9.09
   			  Total:-		Total:150		 Total:-
			#People:1	      #People:1                #People:2
		     Ttl/Person:-	   Ttl/Person:-  	    Ttl/People:50

3. Calculate "Total":
    A: If you input nothing, can't calculate;
    B: If "Tip" is equal to "0%":
	a: If you have only inputted "Bill", "Total" is equal to "Bill".
	    Example:       Bill:5
			    Tip:0%
		     Tip Amount:-
   			  Total:-	->5
			#People:1
		     Ttl/Person:-

	b: If you have inputted "Bill" and "TipAmount", "Total" is equal to the value
	   of "Bill" add to "TipAmount".
	    Example:       Bill:5
			    Tip:0%
		     Tip Amount:5
   			  Total:-	->10
			#People:1
		     Ttl/Person:-

	c: If you have only inputted "TipAmount", can't calculate.
	    Example:       Bill:-
			    Tip:0%
		     Tip Amount:5
   			  Total:-
			#People:1
		     Ttl/Person:-

	d: If you have inputted "TipAmount" and "Ttl/Person", "Total" is calculated
	   according to "Ttl/Person" and "People".
	    Example:       Bill:-
			    Tip:0%
		     Tip Amount:5
   			  Total:-	->20
			#People:2
		     Ttl/Person:10

    C: If "Tip" is not equal to "0%". "Total" is calculated according to "Bill",
       "TipAmount" or "Ttl/Person" in turn.
	    Example:       Bill:5	         Bill:-		          Bill:-
			    Tip:10%               Tip:10%	           Tip:10%
		     Tip Amount:-          Tip Amount:5             Tip Amount:-
   			  Total:-   ->5.5	Total:-   ->55		 Total:-   ->100
			#People:1	      #People:1                #People:2
		     Ttl/Person:-	   Ttl/Person:-  	    Ttl/People:50


4.Calculate "Ttl/Person":
    A: If you input nothing, can't calculate;
    B: If "Tip" is equal to "0%":
	a: If you have only inputted "Bill", "Ttl/Person" is calculated according to
	   "Bill" and "People".
	    Example:       Bill:5
			    Tip:0%
		     Tip Amount:-
   			  Total:-
			#People:2
		     Ttl/Person:-	->2.5

	b: If you have inputted "Bill" and "TipAmount", "Ttl/Person" is equal to the 
	   value of "Bill" add to "TipAmount" then divide by "People".
	    Example:       Bill:5
			    Tip:0%
		     Tip Amount:5
   			  Total:-
			#People:3
		     Ttl/Person:-	->3.33

	c: If you have only inputted "TipAmount", can't calculate.
	    Example:       Bill:-
			    Tip:0%
		     Tip Amount:5
   			  Total:-
			#People:1
		     Ttl/Person:-

	d: If you have inputted "TipAmount" and "Total", "Total" is calculated
	   according to "Total".
	    Example:       Bill:-
			    Tip:0%
		     Tip Amount:5
   			  Total:20
			#People:2
		     Ttl/Person:-	->10

    C: If "Tip" is not equal to "0%", "Total" is calculated according to "Bill",
      "TipAmount" or "Total" in turn.
	    Example:       Bill:5	           Bill:-		  Bill:-
			    Tip:10%                 Tip:10%	           Tip:10%
		     Tip Amount:-            Tip Amount:5             Tip Amount:-
   			  Total:-       	  Total:- 		 Total:10
			#People:2	        #People:2                #People:2
		     Ttl/Person:-   ->2.75   Ttl/Person:-   ->27.5    Ttl/People:-    ->5

--------------------------------------------------------------------------------

End this document
