The NumberCulture parameter controls how numbers are displayed in the generated document, based on a language-region (culture) setting.

It changes the numeral system and applies regional number formatting, such as decimal separators and digit grouping. Unlike currency formatting, it doesn't add a currency symbol. It only changes how the number itself is shown.

Syntax

It has two parts. Define the culture as an Other Parameter on the solution:

Parameter Name:  NumberCulture1
Parameter Value: nl-NL

Docs Made Easy adds each Other Parameter to the solution's button URL (see Parameters explained), where it reads:

&NumberCulture1=nl-NL

Then reference it in a merge field in your template:

{{FieldName \# NumberCulture1}}

Values

PartValueEffect
Parameter nameNumberCulture1, NumberCulture2 and so onNames the culture, so the template can reference it. You can use several at the same time.
Parameter valueA culture code, for example nl-NL for Dutch (Netherlands). The codes are the same as in the CurrencyCulture table.Applies that region's decimal separator and digit grouping, without a currency symbol.
Template switch\# NumberCulture1 after a fieldApplies that culture to the field.

Where to add it

  1. On your solution's Assign Behaviors page, click Other Parameter, then click Add Other Parameter. Enter NumberCulture1 and a culture code, then click Save.

    Other Parameter list with NumberCulture1 set to nl-NL for Dutch number formatting

  2. In your Word template, add \# NumberCulture1 after the field name, for example {{Opportunity.Amount \# NumberCulture1}}.

Example

With NumberCulture1=nl-NL (Dutch, Netherlands):

Actual valueSyntaxOutput
89000.02{{Opportunity.Amount \# NumberCulture1}}89.000,02

Opportunity line items in the template:

Template table for opportunity line items using NumberCulture1 on number fields

The generated document:

Generated line item table with numbers in Dutch format

Works in

Word (DOCX) templates: the example on this page is a Word template.

Notes

You can use several NumberCulture parameters at the same time (NumberCulture1, NumberCulture2 and so on) to apply different number formats in different parts of the same document.

Common errors