Skip to content
Snippets Groups Projects
Commit e5d31dd4 authored by cramakri's avatar cramakri
Browse files

LMS-1217 Only show ellipsis for negative numbers with small absolute value...

LMS-1217 Only show ellipsis for negative numbers with small absolute value (previously, all number < 0 were having ellipses appended).

SVN: 13319
parent 1a544235
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ public final class RealNumberRenderer implements GridCellRenderer<BaseEntityMode
{
formattedValue = NumberFormat.getFormat(SCIENTIFIC_FORMAT).format(doubleValue);
}
if (doubleValue < MIN_DIGITAL_FORMAT_VALUE)
if (Math.abs(doubleValue) < MIN_DIGITAL_FORMAT_VALUE)
{
formattedValue += "..."; // show 0.0000...
} else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment