diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-01-06 09:34:54 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-01-06 09:34:54 -0500 |
| commit | 0831d960bf6eef9ec96d37529d555c0f43f21d0d (patch) | |
| tree | 0c156db85cd5858006de5af78a7447bec130768f | |
| parent | 9b78ef75522b1f6aa20fc81ddf06e5fb40db152d (diff) | |
[DOC] Fix typo in call-seq for Float#round
| -rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2449,7 +2449,7 @@ rb_int_truncate(VALUE num, int ndigits) /* * call-seq: - * round(ndigits = 0, half: :up]) -> integer or float + * round(ndigits = 0, half: :up) -> integer or float * * Returns +self+ rounded to the nearest value with * a precision of +ndigits+ decimal digits. |
