raikar_raviraj
11th December 2007, 07:19
Hi,

I have written a AFS for tfgld1103s000. It works fine except in cases where
the amount is not more than 3 decimal places. for other cases it works perfectly fine.

how do we round off the amount to 3 deimal places. i tried making a domain with 3 decimal places. but when i try to assign the value to variable of this new domain, it allows values more than 3 decimal places.

Can anyone tell me how do i tackle this problem.

Thanks & Regards

Raviraj

mark_h
11th December 2007, 14:47
It seems to me there was one tfgld session that had a problem if I put in 3 decimals. Even the domain of the field allowed 3 decimals - anyway I just used the round command before doing the put field. Not sure if that is whay you are asking.

raikar_raviraj
14th December 2007, 12:47
It worked after using the round function..

Thanks..