SOLVED - How to identify specific TENTHS and UNITS of a DEC number
I have a variable with a range from 000 to 990.
How can I identify specific numbers like:
x20
x45
x70
x95
x can be from 0 to 9
I don't see a quick and simple way of doing this.
Re: How to identify specific TENTHS and UNITS of a DEC number
SOLVED: Confirmed
Code:
COM_KHz_Remainder = COM_KHz_Counter // 100
(it's been a while since I've coded and it shows - obvious things don't jump out at me any more :( )
I think Melanie is showing me the way:
https://www.picbasic.co.uk/forum/sho...=9768#post9768
divide by 100
keep the remainder
My mind is mush, I have to test it to be sure.