math.Max
Returns the greater of all numbers. Accepts scalars, slices, or both.
Syntax
math.Max VALUE...
Returns
float64
{{ math.Max 1 (slice 2 3) 4 }} → 4
Last updated:
December 4, 2023
:
Squashed 'docs/' changes from 4d936aee6..4dd2d6415 (35dec7c9)
Improve this page