|
Subject:
|
Rounding
|
|
Posted By:
|
JasperGIS
|
Post Date:
|
12/14/2005 11:15:47 AM
|
Hello. Is there a function which allows a person to bring a number to teh next odd number? For example, if the number is 38, how would I make it be 39?
|
|
Reply By:
|
marcostraf
|
Reply Date:
|
12/14/2005 2:09:43 PM
|
function NextOdd(byval n as long) as long NextOdd= iif((n and 1) = 0, n+1,n) end function
|
|