Hi
I am currently performing a caluclation where I want to round down to the nearest number regardless of how close it is the number above .
IE: Calculation Result is 1.98732 , should round down to 1 .
I have tried the following examples below but they all Round up to 2 .
NumberValue = 1.98
-
Rounding
Math.Round(NumberValue) = 2 -
Formatting
NumberValue.ToString(“0”) = 2 -
Convert to Int
Convert.ToInt32(NumberValue) = 2
Any help would be greatly appreciated .
Thanks in advance
Rachael