at_most

巴克库

发布于:2025-01-02

将数字限制在最大值。

输入

{{ 4 | at_most: 5 }}

输出

4

输入

{{ 4 | at_most: 3 }}

输出

3

提交反馈