...
lib_str.h/lib_str.c
Prototype
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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 +
characters
nbr_dp +
1 negative sign +
1 decimal point +
1 NUL terminator)
Example Usage
...
Language | C++ |
---|---|
CaptionText | CAPTION |
language | cpp |
...