I have a currency field which has length > 20 digit
E.g : 99999999999999999999
and when i used:
<fmt:formatNumber
value="${crudShipmentForm.invoiceVat}"
pattern="###,###,###,###,##0.000" />
I received NumberFormatException ?
How can I format this field to currency using fmt:formatNumber ?
Your number is too large.
Here’s the relevant code from
FormatNumberSupport:Your number is way beyond the scope of
long