<% template clicks() %> Testing the Tea Built-In Functions <% // Set the locale; it remains for all later template output setLocale("fr", "CA") // Quebec // Specify how time and numbers should be formatted dateFormat("d MMMM yyyy") numberFormat("#0.00%") // Some fake data clicks = 485.0 accesses = 7673.0 %>

<% currentDate() %>

Le pourcentage: <% clicks/accesses %>