String Conversion to int ...incorrect result

Hi All,

i have two strings one is Amount=317.01 and other is TaxAmount=36.47.
i need to subtract 36.47 from 317.01 which the result should be 280.54.

but it is giving 281
this is my expression

i tried pretax as both int32 and double. Am i missing anything basic?

the values are coming from ocr and it is string though.i have changed to the below expression and it is working.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.