0

I have a low decimal value: 2e-8 I want it to be presented as JSON in the format 0.00000002

Tried to create a JsonSerializer and use BigDecimal method "toPlainString" but it is not good for me because the JSON has to show a number and not a string value.

What can I do?

Regards, Ido

Ido Barash
  • 4,856
  • 11
  • 41
  • 78

0 Answers0