Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 scriptlet 标签中使用 jstl 标签或 numberFormat 格式化数字?
我想将通过表格输入的工资打印为:
Input?: 100000 Output: Rs 1,00,000
我尝试了多种方法,例如:
Rs <%= NumberFormat("#,###,###").format(e.getSalary()) %>
但出现错误