Description: This UI string says "Enable rounding": https://translations.documentfoundation.org/translate/libo_ui-master/scmessages/en/?checksum=2034f0fa344b5902 However, its extended tip says "Truncate the number to a given number of Decimal Places.": https://translations.documentfoundation.org/translate/libo_ui-master/scmessages/en/?checksum=dd095553d6c77da1 Truncation and rounding are different things, so one of the two strings is wrong (I don't know which): https://www.ualberta.ca/computing-science/media-library/teaching-resources/java/truncation-rounding.html Steps to Reproduce: 1. Compare the strings in the description Actual Results: The term "rounding" is used in one string while "truncation" in the other. Expected Results: Both strings should use the same term, depending on whether LO actually does rounding or truncation in this case. Reproducible: Always User Profile Reset: No Additional Info: n/a
"Rounding" is the correct term (the code that does that is at [1]). Changes needed in the code [2] and in help [3]. [1] https://opengrok.libreoffice.org/xref/core/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx?r=14cfff50#283 [2] https://opengrok.libreoffice.org/xref/core/sc/uiconfig/scalc/ui/randomnumbergenerator.ui?r=5143de38&mo=22288&fi=410#409 [3] https://help.libreoffice.org/7.4/en-US/text/scalc/01/02140700.html?DbPAR=CALC#hd_id2308201415431875641
Bogdan B committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/3e98ce658dee0b8b8d017d97da4a817b84156de0 tdf#150607 Change Truncate to Round
I will mark the bug as resolved when core gerrit will be merged.
Bogdan B committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cbb83463513431907317bd1b5ab9d1849a4c96af tdf#150607 Change Truncate to Round It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.