Skip to content

Commit 1509093

Browse files
authored
Merge pull request Masterminds#329 from SaigyoujiYuyuko233/master
Fix some typo in doc
2 parents 05f1d18 + 5a3eb31 commit 1509093

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To load the Sprig `FuncMap`:
5050
```go
5151

5252
import (
53-
"github.com/Masterminds/sprig"
53+
"github.com/Masterminds/sprig/v3"
5454
"html/template"
5555
)
5656

docs/mathf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Perform integer division with `divf`
3333
This is equivalent to `10 / 2 / 4` and will return `1.25`:
3434

3535
```
36-
subf 10 2 4
36+
divf 10 2 4
3737
```
3838

3939
## mulf
@@ -82,4 +82,4 @@ Returns the greatest float value greater than or equal to input value
8282

8383
Returns a float value with the remainder rounded to the given number to digits after the decimal point.
8484

85-
`round 123.555555` will return `123.556`
85+
`round 123.555555` will return `123.556`

0 commit comments

Comments
 (0)