I have a number which can always change. I want to find the previous hundredth of that number. I'm only able to find the closest hundredth. Here's how I'm doing it atm:
Dim mynum as integer
mynum = 549
Dim tempnumber as integer
tempnumber = Round(mynum / 100, 0) * 100 '>>> equals 500 which is correct
What if mynum was 551? >> it will get 600 which i don't want, i only want 500 whether the number is 556, 588, or 599, i want the number to still be 500.
I want it to be 599 >> 500, 799>> 700. Basically the hundredth of the current number.