xj2070 发表于 2005-9-2 15:43

*Vwrite 中C 格式符

Enhanced C descriptors available in ANSYS include the following:<BR>
<TABLEcellSpacing=0 cellPadding=0 border=0>
<TFOOT>
<TR vAlign=top>
<TD noWrap>%wI</TD>
<TD>w is the column width. Integer is preceded by the number of blank characters needed to fill the column.</TD></TR>
<TR vAlign=top>
<TD noWrap>%0wI</TD>
<TD>Same as above except integer is padded by zeroes instead of spaces.</TD></TR>
<TR vAlign=top>
<TD noWrap>%0w.pI</TD>
<TD>Pad integer with zeros as necessary to obtain a minimum of p digits.</TD></TR>
<TR vAlign=top>
<TD noWrap>%w.pF</TD>
<TD>w is the column width. Floating point format to p decimal places.</TD></TR>
<TR vAlign=top>
<TD noWrap>%w.pG</TD>
<TD>General format with p significant digits.</TD></TR>
<TR vAlign=top>
<TD noWrap>%w.pE</TD>
<TD>Scientific notation to p decimal places.</TD></TR>
<TR vAlign=top>
<TD noWrap>%wC,<BR>%wS</TD>
<TD>Character string with column width of w.</TD></TR>
<TR vAlign=top>
<TD noWrap>%-wC,<BR>%-wS</TD>
<TD>Left justify character string (right justify is default).</TD></TR>
<TR vAlign=top>
<TD noWrap>%wX</TD>
<TD>Include w blank characters.</TD></TR></TFOOT>
</TABLE>
页: [1]
查看完整版本: *Vwrite 中C 格式符