clmates
Reputable Poster
Hi to all.
I'm having a confusing behaviour of a custom report and I want to know if you have faced a similar "error"
The problem is that I have several custom sections for displaying purposes only (conditional ones), with global RV variables defined over DD items AA and UNCS
in concrete RV_Importe_AA and RV_Coste_UNCS
both variables have changed the display settings to 12 digits, 4 decimals and K formatting type
the estrange is that I assign a value of 0,0056 to RV_Importe_AA variable in a section then call the displaying section and it is sowing fine with all 4 decimal like ,0056
I aso assign the same value to the other RV_Coste_UNCS and then call his displaying section and it is showing like ,01
more annoying is that If I debug step by step in both cases I see the right value assigned = 0,0056 but right after the displaying section ends, the RV is changed to ,01 (I see his value in the calling section)
have you ever faced this?
I have tested also to use both AA types and one is working fine and the other no, and also don't use global RV use global ER instead and assign in the do event of the displaying section, but with the same results.
and as a last note, if I assign the value to a string RV then is showing right with no rounding, Is like the variable is rounding to 2 decimals just before displaying
Thanks to all
I'm having a confusing behaviour of a custom report and I want to know if you have faced a similar "error"
The problem is that I have several custom sections for displaying purposes only (conditional ones), with global RV variables defined over DD items AA and UNCS
in concrete RV_Importe_AA and RV_Coste_UNCS
both variables have changed the display settings to 12 digits, 4 decimals and K formatting type
the estrange is that I assign a value of 0,0056 to RV_Importe_AA variable in a section then call the displaying section and it is sowing fine with all 4 decimal like ,0056
I aso assign the same value to the other RV_Coste_UNCS and then call his displaying section and it is showing like ,01
more annoying is that If I debug step by step in both cases I see the right value assigned = 0,0056 but right after the displaying section ends, the RV is changed to ,01 (I see his value in the calling section)
have you ever faced this?
I have tested also to use both AA types and one is working fine and the other no, and also don't use global RV use global ER instead and assign in the do event of the displaying section, but with the same results.
and as a last note, if I assign the value to a string RV then is showing right with no rounding, Is like the variable is rounding to 2 decimals just before displaying
Thanks to all