[Freemarker] 打印的数字带了讨厌的逗号?

最简单的办法是:

<a href="/shop/productdetails?id=${
product.id?c}">Details…</a>

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.