# Working with Template Syntax Formatting {{< alert style="info" >}}This feature is only compatible with GroupDocs.Assembly for .NET 3.2.0 or later releases.{{< /alert >}}{{< alert style="info" >}}The code uses some of the objects defined in [The Business Layer](https://docs.groupdocs.com/assembly/net/the-business-layer/).{{< /alert >}} ## Template Syntax Formats ### Specifying String and Numeric Formats Learn more about string and numeric formats [here](http://www.groupdocs.com/docs/display/assemblynet/Features+Overview#FeaturesOverview-TemplateSyntaxFormatsforExpressionResults). #### Template Syntax

 

Products

Order Price

<<if [!Any()]>>No data

<<else>><<foreach [in orders]>><<[Product.ProductName] : upper>>

<<[Price] : arabicDash>><</foreach>>

Total:

<<[Sum(c => c.Price)]>><</if>>

 

 

{{< alert style="success" >}}For detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine{{< /alert >}} #### Download Template Get the template from here. * [String\_Numeric\_Formatting.ods](https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-.NET/blob/master/Examples/Data/Source/Word%20Templates/String_Numeric_Formatting.odt?raw=true) #### The Code {{< gist GroupDocsGists cc1574aacc60dd670dfadd92109bf833 >}}