Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to aviod comma in jstl

I use format tag for print decimal value using the below code.

<fmt:formatNumber value="${scoreComponentNormalization.rangeEnd}" maxFractionDigits="1" />

My expected value is:2000

But in prints:2,000

How to avoid the comma.Any help will be greatly appreciated!!!

like image 676
Madhesh Avatar asked Dec 14 '22 15:12

Madhesh


1 Answers

Use following in your fmt:formatNumber tag

groupingUsed="false" />

since by default it is true

like image 181
user2408578 Avatar answered Dec 17 '22 05:12

user2408578