You change the formatting in the Coverages decision table by adding
the dollar sign ($) to the Surcharge column currency
values, and by changing the color of the values to red.
About this task
You change the format of the decision table.
Procedure
- In the Coverages decision table, right-click
the Surcharge column header,
and then click Format.
- In the Format Statement field, click next to the value {0}, and then type a dollar sign, so that you have: ${0}.
The zero in curly brackets is the default format statement that represents the contents of the
cell. When you add the dollar sign, it is displayed as a prefix to the value displayed in the cell.
You can also select a predefined format from the Format Statement list.
For example, select {0,number,percent} to display the
contents of a cell as a percentage value. You can apply this formatting either globally throughout a
column or only at cell level.
- Click OK. A dollar sign is displayed
next to each value in the Surcharge cells.
- Right-click the column header Surcharge, and then
click Format
- Click the button next to the Foreground field, and then click the red
color in the palette.
- Click OK, and then save your work.
Results
Each value in the Surcharge column
is now red and has a dollar sign, as shown in the following decision
table:
What to do next
In the next task, you run the decision table.