1 /*
2  * Auto Payment Calculator V1.0.1beta
3  * Copyright (C) 1997  Eric A. Griff
4  *
5  * An Auto Payment Calculator.
6  *
7  * *Portions of this code use xforms-0.86 which is copyrighted as
8  *
9  *    Copyright (C) 1996-1997 by T.C. Zhao and Mark Overmars. ALL RIGHTS
10  *      RESERVED
11  *
12  */
13 
14 #include "forms.h"
15 #include "apc.h"
16 #include "mathfun.h"
17 
SetAmount(FL_OBJECT * ob,long data)18 void SetAmount(FL_OBJECT *ob, long data)
19 {
20   famount=atof((char *)fl_get_input(ob));
21 
22 #ifdef DEBBUGGING
23   printf("Amount == %3.2f\n",famount);
24 #endif
25 
26   /* fill-in code for callback */
27 
28 }
29 
SetTerm(FL_OBJECT * ob,long data)30 void SetTerm(FL_OBJECT *ob, long data)
31 {
32   fterm=atoi((char *)fl_get_input(ob));
33 
34 #ifdef DEBBUGGING
35   printf("Term == %d\n", fterm);
36 #endif
37 
38   /* fill-in code for callback */
39 }
40 
SetRate(FL_OBJECT * ob,long data)41 void SetRate(FL_OBJECT *ob, long data)
42 {
43   frate=atof((char *)fl_get_input(ob));
44 
45 #ifdef DEBBUGGING
46   printf("Rate == %3.2f\n",frate);
47 #endif
48 
49   /* fill-in code for callback */
50 }
51 
52 
53