V
V
Vadimm10012018-05-29 18:43:20
ASCII
Vadimm1001, 2018-05-29 18:43:20

How to convert number to ASCII code?

For example, there is a number 325, its ASCII code 0x33 is 3, 0x32 is two, 0x35 is five.
You need to implement this at the program level, that is, counting the values ​​\u200b\u200bof the variable, converting it to ASCII code and sending it to the display bus.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VoidVolker, 2018-05-29
@Vadimm1001

In a loop:
This is the general algorithm. There are also such options and nuances: as additional formatting for different number systems, integers / floating point numbers, negative numbers, degrees, fractions, and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question