https://bugs.documentfoundation.org/show_bug.cgi?id=165619
Rafael Lima <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Rafael Lima <[email protected]> --- There are 2 ways to fix this. A super simple fix is to force nPrecision = 0 to round numbers to the closest integer. This is done here: https://gerrit.libreoffice.org/c/core/+/182677 The more complicated fix would be to show an GtkEntry to allow the user to entry the precision. This Entry would only appear for the ROUND transformation. This would be similar to what we have in the "Random Number Generator" dialog. TBH I think this is a bit overkill, because one would argue that this "Precision" should also apply for other transformations as ROUND_UP, ROUNDDOWN, SQUARE, SQUARE_ROOT, etc, which would require various changes in NumberTransformation::Transform. Let me know which one you think is best. -- You are receiving this mail because: You are the assignee for the bug.
