prg_string_format_state_format()
摘要
返回按指定格式状态格式化的数值的字符串表示。
语法
prg_string_format_state_format (state_ptr, string_buf, num, min_total_characters, options)
| 参数 | 类型 | 说明 |
|---|---|---|
state_ptr |
PrgT_Format_State * |
要使用的格式状态。 |
string_buf |
char * |
用于存放 num 的格式化字符串表示的区域。 |
num |
double |
要格式化的数值。 |
min_total_characters |
int |
格式化字符串中至少出现的位数(小数点前后位数之和)。 |
options |
int |
格式化选项(取 表 7 字符串包符号常量 中给出的值之一)。 |
返回类型
void
无返回值。
头文件
prg_string_funcs.h
详情
无。