Percent1
Returns a percent with 1 decimal
- Returned Output: Text
- Library: PQL \ Common \ Formats
- Version: 2020.10.000
- Compatibility:
- Can be combined with and other PQL function throughout the application.
- It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
Syntax
Format( <Numeric> , 1 )
* Click on the function's arguments above for more details on the input values.
Comments
- The predefined format is a short cut to using the standard string FORMAT function.
- The format mask provided can be easily changed to create alternative number formats, as described here. You can also see the process of editing masks by comparing this function to the others in the listing.
- Make sure to note the use of the double quotes, single quote and no quotes in the mask design. They are all relevant.
Different Function types
- Use the DateFormat function to format dates.
- This function is like the Excel Format function.
Examples
This example returns the string "134.8%"
Format( 1.3482 ,1 )