Maths - significant digits

dhulme

New Member
Hi

For my A Level project I'm producing a calculator using 7-segments displays and a PICAXE 18 chip. I am using multiplexing for the displays meaning that the answer needs to be split up into the units tens and hundreds different digits, to be individually sent to displays.

For example, if I have the value 256 stored in w5, I want to split this up into:
2 stored in b0
5 stored in b1
6 stored in b2

Is there a way to do this?

Any help is appreciated,
Thanks in advance,
David
 

dhulme

New Member
Thanks for the help and quick response, I'll know where to come for future Picaxe problems :) Thanks again, David
 
Top