Hi,
I have a text field with an input mask like this ###,###,###.## and I can't understand the behaviour in rounding values in this case.
If the value of the field is, for example, 10.129899 then it shows 10.12 but if the value is 10.129999 it shows 10.13.
So, in which case VFP rounds values?
I would like that the input mask always rounds values. I need rounding only in visualization, keeping the value of the control with all his decimal pieces for further calculation.
The behaviour doesn't change if the input mask is 999,999,999.99
Thank you!!
I have a text field with an input mask like this ###,###,###.## and I can't understand the behaviour in rounding values in this case.
If the value of the field is, for example, 10.129899 then it shows 10.12 but if the value is 10.129999 it shows 10.13.
So, in which case VFP rounds values?
I would like that the input mask always rounds values. I need rounding only in visualization, keeping the value of the control with all his decimal pieces for further calculation.
The behaviour doesn't change if the input mask is 999,999,999.99
Thank you!!