>Math.Abs(value)
I tried that but that is not the same as the VFP CInt() function. Math.Abs(0.39) would return the same value. There must be something I am missing here. I am looking for the 0 value here. As, everything between 0 to 0.99, I would like to obtain 0. So, would be from all values between 1 to 1.99 would return 1.