I have identified a bug when using a numeric combo box with decimal places in GX Ev3. In versions Ev1 and Ev2 the same example works perfectly.
I'm not good at writing, but I'll try to describe the problem. If someone does not understand I'll try again!
Who can help me do the following:
1 - Create a Numeric (7.2) variable in the WebForm in a WebPanel.
2 - On the screen define it as a combo box with integer or broken values:
Example:
&CASA_DECIMAL.AddItem(100, "100%")
&CASA_DECIMAL.AddItem(75, "75%")
&CASA_DECIMAL.AddItem(50.00, "50%")
&CASA_DECIMAL.AddItem(40.00, "40%")
&CASA_DECIMAL.AddItem(35.15, "35,15%")
3 - Create an Enter event or any other event to "start" the value of the sample variable.
3.1 - For example, when you select the 75% option and "start" the value through the event, the value changes to 7500.00, instead of 75.00.
Examples:
&CASA_DECIMAL.ToFormattedString() //- O resultado de 75%, é : 7500,00
&CASA_DECIMAL.ToString() // - O resultado de 75%, é: 7500.00.
I'm using GeneXus Ev3 (update 11), generating Java with JDK 1.8.0_101.
This problem only happens when the variable is a combo box. When it is an input edit, the value is printed correctly.