Rounding decimals and numbers

Hello i have a number thats a string 444.35.

I want to round this number to nearest hole number so 444.35 will be 444

444.75 will be 445

Hi,

Can you try Math.Round method as the following?

Math.Round(Cdbl("444.35"),MidpointRounding.AwayFromZero)

Regards,

1 Like

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