Issue with decimal

I have a Decimal value which is 123456.12537
I need as 123456.12 but when I use round method it was converted 123456.13
how to do this?

Hi,

How about the following expression?

image

Math.Floor(123456.12537*100)/100

Regards,

1 Like

YourStrVar.SubString(0,YourStrVar.Index(“.”)+3)

1 Like

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