You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing values of different types, the classic {{if gt .count 2}} with a
JSON number (float64 against the template's int) or a CSV text value
against a number, now explains the cause and the fix (2.0 or (toInt .count)) instead of a generic hint. Comparing a list or an object,
and a comparison with a missing argument, get their own hints too.
The function reference shows that add, sub, mul, div, mod, max
and min drop decimals ({{mul "12.50" 2}} is 24) and points to the ...f functions for decimal values.