diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-08-15 14:24:35 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-28 07:57:05 +0200 |
commit | f4f6585c1fa2604f787135ccdc2349cfc38845f9 (patch) | |
tree | ecabea9552212ec0d1e924c3fbca3c6d7926966d | |
parent | 1605921fc9c1302de3a61b86b5231a94285506fd (diff) |
tdf#93071 Remove trailing zeroes of scientific in General format
(cherry picked from commit a6fbbfd2f42f5361d53bd4b330a507d94d636923)
Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c
Reviewed-on: https://gerrit.libreoffice.org/17770
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 65afcd990012d898a13d84a49116b877e14d6386)
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index a48c0293df1d..2a95a21e6c80 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -2372,7 +2372,7 @@ void lcl_GetOutputStringScientific(double fNumber, sal_uInt16 nCharCount, nPrec = ::std::min(nPrec, static_cast<sal_uInt16>(14)); // limit to 14 decimals. rOutString = ::rtl::math::doubleToUString(fNumber, rtl_math_StringFormat_E, - nPrec, rFormatter.GetNumDecimalSep()[0]); + nPrec, rFormatter.GetNumDecimalSep()[0], true); } sal_Int32 lcl_GetForcedDenominator(const ImpSvNumberformatInfo &rInfo, sal_uInt16 nAnz) |