antonio622
Programmer
I have a variable declared as Single and I am trying to retrieve only the whole number without rounding up or down as in the following number:
3.959
I only want to assign 3 in the number above to another variable.
If I do this in code using format number and read only the whole number of course I get the value of 4.
Is there a command or procedure in VB.net to disable rounding off numbers in one instance?
3.959
I only want to assign 3 in the number above to another variable.
If I do this in code using format number and read only the whole number of course I get the value of 4.
Is there a command or procedure in VB.net to disable rounding off numbers in one instance?