cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Double Formatted into scientific Format

Former Member
0 Likes
354

hey experts,

currently we are investigating the issue that our double values are formatted into scientific numbers. e.g. 0,00030576 becomes 3.0576E-4 and it gets displayed like that.

We didnt found anything in the code why he's formatting it like that. Any Ideas?

cheers, daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

I suggest you use BigDecimal and then do BigDecimal.doubleValue() If you wish to return a string, then do BigDecimal.toPlainString().