fix percent printing
[calc.git] / parser.h
index 90dba49323fe032e7cfd7ce184d2d174a964bbdc..629b1b49a83272210f7faa1af41a7668506f54c9 100644 (file)
--- a/parser.h
+++ b/parser.h
@@ -30,7 +30,7 @@ typedef struct _element_t {
     func_t func;
     int nbops;
     struct _element_t *ops[MAX_OPERANDS];
-    float value;
+    double value;
     int prio;
 } element_t;