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

详情

无。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com