Working with Template Syntax Formatting

Template Syntax Formats

Specifying String and Numeric Formats

Learn more about string and numeric formats here.

Template Syntax

 

Manager

Contract Price

<<foreach [in getManagers()]>><<[getName()]:upper>>

<<[getContracts().sum(

  c => c.getPrice())]:arabicDash>><</foreach>>

Total:

<<[getManagers().sum(

  m => m.getContracts().sum(

    c => c.getPrice()))]>>           

 

 

Download Template

Get template from here.

The Code