https://bugs.documentfoundation.org/show_bug.cgi?id=163840
Bug ID: 163840
Summary: UnoControlNumericField insensitive to its decimal
format configuration
Product: LibreOffice
Version: 24.2.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Created attachment 197533
--> https://bugs.documentfoundation.org/attachment.cgi?id=197533&action=edit
Open a dialog with a Numeric and a Currency fields configured for Integers.
I use a UnoControlNumericField to input Integers in a UnoControlDialog.
In the Basic Dialog Editor, I have configured the UnoControlNumericField with
the number of decimal digits forced to 0.
On the display, the control doesn't constraint the input values. It displays
the fractional digits, and return a fractional value.
If the same configuration is done with a CurrencyField, the field suppress the
fractional digits on the display, but returns anyway a fractional value.
I would have expected that setting the number of fractional digits to 0 should
have guaranteed that the returned value would be an Integer.
--
You are receiving this mail because:
You are the assignee for the bug.