in reply to Re^3: Need to calculate IP address
in thread Need to calculate IP address

It will never be a 0. If the IP ends in .9, it needs to become .10. .10 would become .9. .29 would become .30, etc.