Number Formatting
Knackly can manipulate the formatting of numbers for a finished document. Note that our variable names may be different from yours but the formatting will remain the same after |format.
A number without formatting, for instance: 1000
{[EngagementFee]}
A number including a comma, for instance: 1,000
{[EngagementFee|format: "0,0"]}
A number with a comma and two decimal places, for instance: 1,000.00
Note: You can input however many decimal places you wish by subtracting or adding more zeroes after the decimal point. For example, to have four decimal places your formatting would look like this: |format: “0.0000”
{[EngagementFee|format: "0,0.00"]}
A spelled-out cardinal number, for instance: one thousand
{[EngagementFee|cardinal]}
A spelled-out ordinal number, for instance: one thousandth
{[EngagementFee|ordinal]}
Using built-ins to format numbers on Word
The Knackly Word Designer also has a few built-in formatting options. To learn more, watch the accompanying video or follow the guide below.
After locating the number variable you are adding to your template, select the ellipsis icon menu and hover over Insert content with formatting. The following list of options will appear:
- Number formatted with comma
- Number formatted with comma and two decimals
- Number formatted as cardinal number
- Number formatted as ordinal number
For our example, we are inserting a cardinal number followed by parentheses and the same number formatted with a comma. This is a common way to denote a written number followed by its accompanying digit.
Using built-ins to format variables in the Knackly Online Workspace
Another way to adjust number variables is to use the online workspace. In the workspace, you can set both the number of Decimal Places you want to include and the Minimum and Maximum amounts for user input.
Note that if you include two decimal places here, the app intake will only allow a user to input up to two decimal places; however, if you use a format code from the list above in a template then the finished document will adhere to the format code and not the online workspace.