Commit d2c7736c authored by unknown's avatar unknown

fix for decimal.c


strings/decimal.c:
  fix
parent 30db8445
......@@ -873,7 +873,7 @@ int decimal_round(decimal *from, decimal *to, int scale, decimal_round_mode mode
error=E_DEC_TRUNCATED;
}
if (scale+from->intg <0)
if (scale+from->intg <= 0)
{
decimal_make_zero(to);
return E_DEC_OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment