Datasheet
CONVERSIONS LIBRARY
The mikroC PRO for AVR Conversions Library provides routines for numerals to
strings and BCD/decimal conversions.
Library Routines
You can get text representation of numerical value by passing it to one of the follow-
ing routines:
- ByteToStr
- ShortToStr
- WordToStr
- IntToStr
- LongToStr
- LongWordToStr
- FloatToStr
The following functions convert decimal values to BCD and vice versa:
- Dec2Bcd
- Bcd2Dec16
- Dec2Bcd16
561
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6