File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ defmodule Float do
94
94
end
95
95
96
96
@ doc """
97
- Round a float to the largest integer less than or equal to `num`
97
+ Rounds a float to the largest integer less than or equal to `num`.
98
98
99
99
## Examples
100
100
@@ -117,7 +117,7 @@ defmodule Float do
117
117
end
118
118
119
119
@ doc """
120
- Round a float to the largest integer greater than or equal to `num`
120
+ Rounds a float to the largest integer greater than or equal to `num`.
121
121
122
122
## Examples
123
123
@@ -158,5 +158,4 @@ defmodule Float do
158
158
def round ( number , precision ) when is_float ( number ) and is_integer ( precision ) and precision in 0 .. 15 do
159
159
Kernel . round ( number * :math . pow ( 10 , precision ) ) / :math . pow ( 10 , precision )
160
160
end
161
-
162
161
end
You can’t perform that action at this time.
0 commit comments