- rc = evaluate_arithmetic_expression(str, &ival, &dval);
- if (str[0] == '(' && !rc)
- *val = ival;
+ rc = evaluate_arithmetic_expression(str, &ival, &dval, implied_units, is_time);
+ if (str[0] == '(' && !rc) {
+ if (!kilo && is_seconds)
+ *val = ival / 1000000LL;
+ else
+ *val = ival;
+ }