Template Value: {{ . }}

Name: {{ .Name }}

Category: {{ .Category }}

Price: {{ printf "$%.2f" .Price }}

Tax : {{ printf "$%.2f" .AddTax }}

Discount Price: {{ .ApplyDiscount 10 }}

Discount Price: {{ .ApplyDiscount 20 | printf "$%.2f" }}

Discount Price: {{ printf "$%.2f" (.ApplyDiscount 30 ) }}

Name : {{ .Name }}, Category: {{ .Category }} Price: {{ printf "$%.2f" .Price }}

Name : {{ .Name }}, Category: {{ .Category }} Price: {{- printf "$%.2f" .Price -}}

{{- "" -}} Name : {{ .Name }}, Category: {{ .Category }} Price: {{- printf "$%.2f" .Price -}}