Kaydet (Commit) 0deb8046 authored tarafından Laurent Balland-Poirier's avatar Laurent Balland-Poirier Kaydeden (comit) Eike Rathke

tdf#93071 Remove trailing zeroes of scientific in General format

(cherry picked from commit a6fbbfd2)
Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c
Reviewed-on: https://gerrit.libreoffice.org/17769Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst 93add6c0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment