Tag: code

03
Apr
2017

How to extract a single digit from a number

Divide a number by 10 will give you a digit as int sample: 256/10=25.6==25 25/10=2.5==2 256%10=6 25%10=5…