Changing Table Cell Data Format
The format for the data points displayed in the table cells in WzTable Tool can be changed by applying a FORTRAN-style format specifier. For example, if your data is integer type, the specifier might be I5, indicating integer data five characters wide. As another example, the specifier f10.6 causes the data to be displayed ten characters wide with six decimal places.
The procedure for changing the display format of the table’s data includes these steps:
1. Select Attributes=>View Attributes. This brings up the View Attributes dialog box.
2. Type a FORTRAN format specifier in the Display Format text field of the View Attributes dialog box.
3. In the View Attributes dialog box, click OK or Apply to apply the new display format to all the cells in the table.
note | Question marks (?) will display in all the table cells if an invalid format specifier is entered in the Display Format text field and applied, or if a cell’s value is inappropriate for the format specified. For example, if the value is 100 and the format is f4.2, the value can’t be printed with that format and a ? appears in the table cell instead of a value. |
For more information about format specifiers, refer to the PV‑WAVE Programmer’s Guide.
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.