Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Numbers

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi everyone, I have a simple but *very* important question.

My problem is that I can manipulate my data to get the number i need, but how do display this *on screen*?

Since only character data may be displayed onscreen im wonder what the simplest way is (for a lamen) to display nums upto 50000.

Any help is greatly appreciated,

Perf.
 
Ps. Im using TASM, and i need to sum numbers and display them onscreen.
 
Convert the integer to a series of characters that represent the data. I'm currently thinking of building a FAQ on how to do integer-to-string and vice versa.

Try looking also at the hexadecimal-to-decimal thread. It contains code to do that. 'Course it's only for 16-bit ints, but I'm pretty sure you're smart enough to extend that. "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top