Actually for some number it works and for some number not

eg:123.429 gives o/p 123.43

but 123.425 gives output as 123.42, it should be 123.43

i have attached the output of excel below

Thanks in advance…

Actually for some number it works and for some number not

eg:123.429 gives o/p 123.43

but 123.425 gives output as 123.42, it should be 123.43

i have attached the output of excel below

Thanks in advance…

Assign activity:

Left: roundedValue

Right: Math.Round(Double_var,2,MidpointRounding.AwayFromZero)

1 Like

Assign activity:

Left: roundedValue

Right: Math.Round(Double_var,2,MidpointRounding.AwayFromZero)

1 Like

Thk you

Working!!!

You are Welcome…

Cheers

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