fixed a bug

This commit is contained in:
Michiharu Ariza 2018-09-11 13:56:52 -07:00
parent 0bd5912a08
commit 1499029a96
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ struct DictOpSet : OpSet<Number>
return false;
case END:
value = (double)int_part;
value = (double)(neg? -int_part: int_part);
if (frac_count > 0)
value += (frac_part / pow (10.0, (double)frac_count));
if (exp_part != 0)