diff options
Diffstat (limited to 'Stars45/FormatUtil.cpp')
-rw-r--r-- | Stars45/FormatUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/FormatUtil.cpp b/Stars45/FormatUtil.cpp index 43a5c58..205b9bb 100644 --- a/Stars45/FormatUtil.cpp +++ b/Stars45/FormatUtil.cpp @@ -59,7 +59,7 @@ void FormatNumber(char* txt, double n) else if (a < 1e15) sprintf(txt, "%.1f T", (n/1e12)); - else + else sprintf(txt, "%.1e", n); } |