From: Giovanni Mascellani Subject: [PATCH] patch/ScientificFormat.java Little fix to an API glitch with FreeHEP Signed-off-by: Giovanni Mascellani --- geogebra/util/ScientificFormat.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/geogebra/util/ScientificFormat.java b/geogebra/util/ScientificFormat.java index 839e673..d983c7f 100644 --- a/geogebra/util/ScientificFormat.java +++ b/geogebra/util/ScientificFormat.java @@ -69,17 +69,17 @@ public class ScientificFormat extends Format toAppendTo.append(format(dwe.getValue())); if (dwe.hasAsymmetricError()) { - toAppendTo.append(DoubleWithError.plus); + toAppendTo.append('+'); int errorSigDigit = resolveErrorSigDigit(dwe.getValue(),dwe.getPlusError()); toAppendTo.append(format(dwe.getPlusError(),errorSigDigit)); - toAppendTo.append(DoubleWithError.minus); + toAppendTo.append('-'); errorSigDigit = resolveErrorSigDigit(dwe.getValue(),dwe.getMinError()); toAppendTo.append(format(dwe.getMinError(),errorSigDigit)); } else { - toAppendTo.append(DoubleWithError.plusorminus); + toAppendTo.append('\u00b1'); int errorSigDigit = resolveErrorSigDigit(dwe.getValue(),dwe.getError()); toAppendTo.append(format(dwe.getError(),errorSigDigit)); } @@ -237,4 +237,4 @@ public class ScientificFormat extends Format // return format(dx, resolveErrorSigDigit(d, dx)); // } -} \ No newline at end of file +} -- tg: (4896c42..) patch/ScientificFormat.java (depends on: master)