diff options
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2155,7 +2155,7 @@ fix_div(x, y) x = rb_int2big(FIX2LONG(x)); return rb_big_div(x, y); case T_FLOAT: - return rb_Integer(rb_float_new((double)FIX2LONG(x) / RFLOAT(y)->value)); + return rb_float_new((double)FIX2LONG(x) / RFLOAT(y)->value); default: return rb_num_coerce_bin(x, y); } |