0

I use tinylog for logging to file and console both. And I face with issue, that when I write to log double numbers, it's displayed in scientific (exponential) notation. For example, I have such line in my code:

Logger.info("Community with ID="+community.getDouble(ID_PROPERTY)+" was joined");

where community.getDouble(ID_PROPERTY) returns for example 50512447. But in logs (log-file or console) it looks like 5.0512447E7. How can I have the number display without scientific notation?

joschi
  • 12,168
  • 4
  • 44
  • 49
Hleb Kastseika
  • 6,455
  • 12
  • 51
  • 113

0 Answers0