Shop OBEX P1 Docs P2 Docs Learn Events
DIG command not working — Parallax Forums

DIG command not working

ArchiverArchiver Posts: 46,084
edited 2001-12-05 15:41 in General Discussion
Hello,

I know this has to be easy, but I just don't know which commands to use.

I am receiving a number from the Pak-II math co-processor. Before receiving
the number there were three digits behind the decimal point that were of
concern to me and that I want to display on a LCD screen, so I multiplied it by
1000 so now I can receive a whole number. Now that I have the number, I need
to display it correctly, so from the five numbers of this word, I need to show
only the first two numbers on an LCD screen, then a "." and then the last three
numbers.

I've tried to use the DIG command, but that seems to only work within Debug.
Please let me know if anyone has an easy solution.



--
Stewart Mayer, stewlist@k... on 12/04/2001

Comments

Sign In or Register to comment.