option to write floats as ints when possible
omit the ".0" in values like "3.0"
This commit is contained in:
+2
-2
@@ -841,8 +841,8 @@ extern bool exechook(int context, const char *ident, const char *body,...); //
|
||||
extern char *executeret(const char *p);
|
||||
extern char *conc(const char **w, int n, bool space);
|
||||
extern void intret(int v);
|
||||
extern const char *floatstr(float v);
|
||||
extern void floatret(float v);
|
||||
extern const char *floatstr(float v, bool neat = false);
|
||||
extern void floatret(float v, bool neat = false);
|
||||
extern void result(const char *s);
|
||||
extern void exec(const char *cfgfile);
|
||||
extern bool execfile(const char *cfgfile);
|
||||
|
||||
Reference in New Issue
Block a user