freemark的整除问题

2025-05-22 09:29:27
推荐回答(1个)
回答1:

<#assign a=5 % 3>
${a}
输出是2

freemarker中,只要java有的,基本都会有。