File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ defmodule Float do
198
198
defp add_dot ( acc , false ) , do: acc <> ".0"
199
199
200
200
@ doc """
201
- Rounds a float to the largest number less than or equal to `num `.
201
+ Rounds a float to the largest float less than or equal to `number `.
202
202
203
203
`floor/2` also accepts a precision to round a floating-point value down
204
204
to an arbitrary number of fractional digits (between 0 and 15).
@@ -246,7 +246,7 @@ defmodule Float do
246
246
end
247
247
248
248
@ doc """
249
- Rounds a float to the smallest integer greater than or equal to `num `.
249
+ Rounds a float to the smallest float greater than or equal to `number `.
250
250
251
251
`ceil/2` also accepts a precision to round a floating-point value down
252
252
to an arbitrary number of fractional digits (between 0 and 15).
You can’t perform that action at this time.
0 commit comments