We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05f1d18 + 5a3eb31 commit 1509093Copy full SHA for 1509093
README.md
@@ -50,7 +50,7 @@ To load the Sprig `FuncMap`:
50
```go
51
52
import (
53
- "github.com/Masterminds/sprig"
+ "github.com/Masterminds/sprig/v3"
54
"html/template"
55
)
56
docs/mathf.md
@@ -33,7 +33,7 @@ Perform integer division with `divf`
33
This is equivalent to `10 / 2 / 4` and will return `1.25`:
34
35
```
36
-subf 10 2 4
+divf 10 2 4
37
38
39
## mulf
@@ -82,4 +82,4 @@ Returns the greatest float value greater than or equal to input value
82
83
Returns a float value with the remainder rounded to the given number to digits after the decimal point.
84
85
-`round 123.555555` will return `123.556`
+`round 123.555555` will return `123.556`
0 commit comments