C cj Dec 27, 2005 #1 Is there a function or method that would round a long number (always up) to the next integer?
C Chris Dec 27, 2005 #2 cj said: Is there a function or method that would round a long number (always up) to the next integer? Click to expand... Look into: Math.Floor() <-Down Math.Ceiling() <- Up Chris
cj said: Is there a function or method that would round a long number (always up) to the next integer? Click to expand... Look into: Math.Floor() <-Down Math.Ceiling() <- Up Chris
C cj Dec 27, 2005 #3 That is what I was looking for. Couldn't remember what it used to be and wasn't sure .net still supported it.
That is what I was looking for. Couldn't remember what it used to be and wasn't sure .net still supported it.
H Herfried K. Wagner [MVP] Dec 27, 2005 #4 cj said: Is there a function or method that would round a long number (always up) to the next integer? Click to expand... \\\ x = CLng(Math.Ceiling(y)) ///
cj said: Is there a function or method that would round a long number (always up) to the next integer? Click to expand... \\\ x = CLng(Math.Ceiling(y)) ///