C
Claire
Hi
Dont know exactly how to explain.
I have a field name cost, currency 4 digits afler dot.
The second field is setup to Round cost 2 digits after dot.
The problem is
If my cost is like : 1.0050 when I round (cost;2)
it give me the result of 1.00
It did not recongnise the 5 and then not give me
1.01
I tought to add in my procedure
a variable call priceok
If right (2)[cost] = 5 then of *(4 digits)
right (1)[priceok] = 1 of *(2digits)
else
price = round(cost;2)
endif
I am trying to find a solution. May bee you can help.
I hope
Thanks in advance
Claire
Dont know exactly how to explain.
I have a field name cost, currency 4 digits afler dot.
The second field is setup to Round cost 2 digits after dot.
The problem is
If my cost is like : 1.0050 when I round (cost;2)
it give me the result of 1.00
It did not recongnise the 5 and then not give me
1.01
I tought to add in my procedure
a variable call priceok
If right (2)[cost] = 5 then of *(4 digits)
right (1)[priceok] = 1 of *(2digits)
else
price = round(cost;2)
endif
I am trying to find a solution. May bee you can help.
I hope
Thanks in advance
Claire