summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/numeric.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 18b8ff461..638f75fd8 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -246,9 +246,6 @@ flo_to_s(mrb_state *mrb, mrb_value flt)
str = mrb_float_to_str(mrb, flt, fmt);
goto insert_dot_zero;
}
- else {
- mrb_str_cat(mrb, str, ".0", 2);
- }
return str;
}