fireflywph 发表于 2012-4-9 15:38:35

Design variable properties 中format %3.1f的含义

求助:在hyperstudy 中设置Design variable properties 时,有个参数是“format            %3.1f " 请问各位大侠,这是什么意思,还有%8.5f。谢谢各位了

zkong 发表于 2012-4-13 16:29:28

表示实数的输出格式,%3.1f表示 整体3位数字,小数点后1位数字 (比如12.1)
请参考C/C++ printf文档
http://www.cplusplus.com/reference/clibrary/cstdio/printf/

fireflywph 发表于 2012-4-13 17:05:45

非常感谢版主的解释!
页: [1]
查看完整版本: Design variable properties 中format %3.1f的含义