'How to disable scientific notation while debugging in Android Studio?

How can I turn off the (annoying) scientific notation for numbers while debugging in Android Studio 3?

enter image description here



Solution 1:[1]

you can evaluate expression in dialog with bellow code:

double value = 2.46464646464464E11;

just open dialog (only in debug mode) of evaluate expression (Alt + f8) and write

 new BigDecimal(value);

Look below screenshot: enter image description here

Solution 2:[2]

Convert it to string and print/debug.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Steve Ham