[DOC] Fix typo in call-seq for Float#round
This commit is contained in:
parent
9b78ef7552
commit
0831d960bf
@ -2449,7 +2449,7 @@ rb_int_truncate(VALUE num, int ndigits)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* 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
|
* Returns +self+ rounded to the nearest value with
|
||||||
* a precision of +ndigits+ decimal digits.
|
* a precision of +ndigits+ decimal digits.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user