Hi,
Have a 10bit number, that i need to round up to the nearest 25…. any ideas.
Thanks
varout = 0 do while varout < varin varout +=25 loop
pretty simple. Hope that helps you.
Log in to post a comment.
Hi,
Have a 10bit number, that i need to round up to the nearest 25…. any ideas.
Thanks
varout = 0
do while varout < varin
varout +=25
loop
pretty simple. Hope that helps you.