0

如何在 scriptlet 标签中使用 jstl 标签或 numberFormat 格式化数字?

我想将通过表格输入的工资打印为:

Input?: 100000
Output: Rs 1,00,000

我尝试了多种方法,例如:

Rs <%= NumberFormat("#,###,###").format(e.getSalary()) %>

但出现错误

4

0 回答 0