Skip to end of metadata
Go to start of metadata
This command is used to set the display precision for summation options in SuperWEB2.

This setting only applies to SuperWEB2. See Set Precision for Summation Options - SuperWEB2 for more information and examples.

UsageDescription
displayoptions <dataset_id>
Display the settings currently configured for the specified dataset.
displayoptions <dataset_id> <summation_option>
Display the settings currently configured for the specified summation option in the specified dataset.
displayoptions <dataset_id> <summation_option> set numberOfDecimalPlaces <value>
Set the display precision (number of decimal places) for the specified summation option.
displayoptions <dataset_id> <summation_option> clear numberOfDecimalPlaces
Clear any display precision setting for the specified summation option.

Use Regular Expressions

You can use regular expressions to check, set and clear multiple summation options. For example, you can use . to match a single character, and .+ to match one or more characters. For example:

> displayoptions bank .+Profit set numberOfDecimalPlaces 2
Account Profit:
    numberOfDecimalPlaces: 2
Customer Profit:
    numberOfDecimalPlaces: 2

> displayoptions bank .+ set numberOfDecimalPlaces 3
Average Account Balance:
    numberOfDecimalPlaces: 3
Account Profit:
    numberOfDecimalPlaces: 3
Accounts:
    numberOfDecimalPlaces: 3
Customer Profit:
    numberOfDecimalPlaces: 3
Customers:
    numberOfDecimalPlaces: 3
 
> displayoptions bank .+ clear numberOfDecimalPlaces
Average Account Balance:
    No display options configured
Account Profit:
    No display options configured
Accounts:
    No display options configured
Customer Profit:
    No display options configured
Customers:
    No display options configured

Escape Any Special Characters

When setting or checking the display precision settings, you must use the display name of the summation option. If the name includes any of the following special characters, then you need to escape them by using a \ before the special character:

'"<>{}[]()$*:?/|

For example, if the display name of the summation option is "Total trip spend ($000)", you would write this as follows:

displayoptions MyDatasetID "Total trip spend \(\$000\)" set numberOfDecimalPlaces 0

  • No labels