X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=format.h;h=b18b92d728e8ccb99d9e18a684fcd452ab9ade02;hb=807bdeba16ea9ed816ecf7d3900f601c37ffa204;hp=98492056673e6bffafeb1463bed5e27efa7754ba;hpb=bdcb95da42ef20e0385e0c0404cb25844c3bb137;p=calc.git diff --git a/format.h b/format.h index 9849205..b18b92d 100644 --- a/format.h +++ b/format.h @@ -3,16 +3,22 @@ /* global variables */ -extern char *format; -extern char *minform; - /* print function */ -void set_format (char *prompt, int precision); +void set_precision (int precision); +int get_precision (); +void set_prompt (char *prompt); +void set_format (); void free_format (); +void set_base (int in, int out); +int is_input_decimal (); +char *show_base (); +int get_ibase (); + double print (double value); +double printl (double value); #endif /* __FORMAT_H__ */