hey all i am having a problem rounding numbers...
i tried this
val1 = roundit(val1) val2 = roundit(val2) .. Function roundit(numToRound) roundit = Round(numToRound) End Function |
but the problem with this is that it rounds to then nearest whole number....what i am in need of is if a number is past the whole number round it to the next highest number
example:
intsomething = intsomenumber / intsomeothernumber
which turns out in my situation
intsomething = 100 / 14
and intsomething = 7.1428571428571428571428571428571
i need to take and make 7.1428571428571428571428571428571 go up to the next highest whole number
|
any help on this would be great!!!
Edited by asp what that??