Skip to content

Commit 89003fe

Browse files
authored
Update rounding.jl docstring (#58277)
1 parent 252c65e commit 89003fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/rounding.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Without keyword arguments, `x` is rounded to an integer value, returning a value
337337
thrown if the value is not representable by `T`, similar to [`convert`](@ref).
338338
339339
If the `digits` keyword argument is provided, it rounds to the specified number of digits
340-
after the decimal place (or before if negative), in base `base`.
340+
after the decimal place (or before if `digits` is negative), in base `base`.
341341
342342
If the `sigdigits` keyword argument is provided, it rounds to the specified number of
343343
significant digits, in base `base`.

0 commit comments

Comments
 (0)