mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-11-30 20:30:00 +01:00
doc corrections
This commit is contained in:
parent
8783c86cd6
commit
f4a74dac57
2 changed files with 26 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ The original set of template functions is based on the [Sprig library](https://m
|
|||
- [String List Functions](#string-list-functions)
|
||||
- [Integer Math Functions](#integer-math-functions)
|
||||
- [Integer List Functions](#integer-list-functions)
|
||||
- [Float Math Functions](#float-math-functions)
|
||||
- [Date Functions](#date-functions)
|
||||
- [Default Functions](#default-functions)
|
||||
- [Encoding Functions](#encoding-functions)
|
||||
|
|
@ -526,6 +527,28 @@ seq 0 2 10 => 0 2 4 6 8 10
|
|||
seq 0 -2 -5 => 0 -2 -4
|
||||
```
|
||||
|
||||
## Float Math Functions
|
||||
|
||||
### maxf
|
||||
|
||||
Return the largest of a series of floats:
|
||||
|
||||
This will return `3`:
|
||||
|
||||
```
|
||||
maxf 1 2.5 3
|
||||
```
|
||||
|
||||
### minf
|
||||
|
||||
Return the smallest of a series of floats.
|
||||
|
||||
This will return `1.5`:
|
||||
|
||||
```
|
||||
minf 1.5 2 3
|
||||
```
|
||||
|
||||
## Date Functions
|
||||
|
||||
### now
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue