Hi All,
I am running the below small query in progress editor.
I am having two memory variable , which having 2 different formats. If enter the same value in both the fields it displays the different results.
{mfdtitle.i}
define variable a as decimal format "->>,>>>,>>9.9<<<<<<".
define variable b as decimal format "->>>>,>>>,>>9.99<<<".
form
a
b
with frame a .
update
a
b
with frame a.
display
a
b
with frame b.
Input:
a b
69,876.75551 69,876.75551
Output:
a b
69,876.7555 69,876.75551
Expected Result:
I am expecting the value 69,876.75551 with out any rounnding for "a".
Can anyone please explain me why it behaving differently? Why value "a" is rounded and value "b" is not rounded ?
Thanks in advance.
Regards
M.Prabu
I am running the below small query in progress editor.
I am having two memory variable , which having 2 different formats. If enter the same value in both the fields it displays the different results.
{mfdtitle.i}
define variable a as decimal format "->>,>>>,>>9.9<<<<<<".
define variable b as decimal format "->>>>,>>>,>>9.99<<<".
form
a
b
with frame a .
update
a
b
with frame a.
display
a
b
with frame b.
Input:
a b
69,876.75551 69,876.75551
Output:
a b
69,876.7555 69,876.75551
Expected Result:
I am expecting the value 69,876.75551 with out any rounnding for "a".
Can anyone please explain me why it behaving differently? Why value "a" is rounded and value "b" is not rounded ?
Thanks in advance.
Regards
M.Prabu