diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-08-01 22:20:51 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-20 14:13:52 +0200 |
commit | c8546fa47f35203ea1cb8fc20ad95026051ed822 (patch) | |
tree | a3e141aac4aff3581078903fc17587f498de8cae /svl | |
parent | a7d3bb7d1a4c8c9d7999c69f8904993f4e5a30ae (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/17769
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svl')
-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 91bba556d5f4..15f3f53aa1ea 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1969,7 +1969,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_E2, - nPrec, rFormatter.GetNumDecimalSep()[0]); + nPrec, rFormatter.GetNumDecimalSep()[0], true ); } sal_Int32 lcl_GetForcedDenominator(const ImpSvNumberformatInfo &rInfo, sal_uInt16 nAnz) |