Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_str.h/lib_str.c

Prototype

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          CPU_CHAR  *Str_FmtNbr_32 (CPU_FP32      nbr,
                                    CPU_INT08U    nbr_dig,
                                    CPU_INT08U    nbr_dp,
                                    CPU_CHAR      lead_char,
                                    CPU_BOOLEAN   nul,
                                    CPU_CHAR     *pstr);

Arguments

nbr

Number to format into a string.

...

Character array size must be >= (nbr_dig +
nbr_dp +
1 negative sign +
1 decimal point +
1 NUL terminator)
characters

Example Usage

...

LanguageC++
CaptionTextCAPTION
languagecpp

...