Applying Pluralized Contexts
This page demonstrates Hashtag Contexts for Pluralized values.
The Hashtag Markup is shown below <# in bold #>.
The Currency formatted values are injected into the HTML page after the ⇒ symbol.
Processing this Hashtag Markup:
<# set single to 1; #>
<# set double to 2; #>
Note: Hashtag Markup Variable Tags are shown below <# in bold #>.
The values generated by processing them, and applying pluralized Contexts, is injected into the page after the ⇒ symbol.
<#[single as pluralized "day|days"]#> ⇒ 1 day
<#[double as pluralized "day|days"]#> ⇒ 2 days