Commit 2e4e7f7c authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

should not call round(3); close #109

parent 8a6d4a8b
......@@ -543,7 +543,6 @@ flo_round(mrb_state *mrb, /*int argc, mrb_value *argv,*/ mrb_value num)
number = d - (d - number >= 0.5);
}
number = round(number);
if (ndigits < 0) number *= f;
else number /= f;
}
......
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