Don't ask me why, but I'm just learning Visual C++ and VIsual Basic this summer.
In Visual Basic, I'm trying to change a decimal number like 1.383 just to 1. I just want to cut off everything but the ones place. I tried using the Cint conversion function, but Cint does some wierd thing by rounding up to the nearest even number. How can I go about just chopping off the decimals? Thanks for any tips.
In Visual Basic, I'm trying to change a decimal number like 1.383 just to 1. I just want to cut off everything but the ones place. I tried using the Cint conversion function, but Cint does some wierd thing by rounding up to the nearest even number. How can I go about just chopping off the decimals? Thanks for any tips.
