Hi,
You have to use Round function to round the values.
Dim IncomeTax As Decimal
IncomeTax = "1233.34579345497"
IncomeTax = IncomeTax.Round(IncomeTax, 2)
Regards,
Prasanna Kakanoor
Quote:
>-----Original Message-----
>hi
>my problem is like this. I have "IncomeTax" field
declared
>as a single data type. but the answer I get after
>calculation has say seven or eight decimal places.
>eg 1233.34579345497
>how do I truncate this to 2 decimal places. say 1233.35
>I really appreciate the help
>thanks
>daya
>.