new function: format
[calc.git] / format.h
1 #ifndef __FORMAT_H__
2 #define __FORMAT_H__
3
4 /* global variables */
5
6 /* print function */
7
8 void set_precision (int precision);
9 int get_precision ();
10 void set_prompt (char *prompt);
11 void set_format ();
12
13 void free_format ();
14
15 double print (double value);
16 double printl (double value);
17
18 #endif /* __FORMAT_H__ */
19
20 /* vim: set ts=4 sw=4 et: */