correct convertion from non decimal base
[calc.git] / format.h
... / ...
CommitLineData
1#ifndef __FORMAT_H__
2#define __FORMAT_H__
3
4/* global variables */
5
6/* print function */
7
8void set_precision (int precision);
9int get_precision ();
10void set_prompt (char *prompt);
11void set_format ();
12
13void free_format ();
14
15void set_base (int in, int out);
16char *show_base ();
17int get_ibase ();
18
19double print (double value);
20double printl (double value);
21
22#endif /* __FORMAT_H__ */
23
24/* vim: set ts=4 sw=4 et: */